xine-lib 1.2.11
Data Structures | Macros | Typedefs | Functions | Variables
audio_none_out.c File Reference
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <math.h>
#include <unistd.h>
#include <inttypes.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/audio_out.h>

Data Structures

struct  ao_none_driver_s
 
struct  ao_none_class_t
 

Macros

#define LOG_MODULE   "audio_none_out"
 
#define AO_OUT_NONE_IFACE_VERSION   9
 
#define AUDIO_NUM_FRAGMENTS   15
 
#define AUDIO_FRAGMENT_SIZE   8192
 
#define AON_GAP_TOLERANCE   AO_MAX_GAP
 
#define AO_NONE_CATALOG   { PLUGIN_AUDIO_OUT, AO_OUT_NONE_IFACE_VERSION, "none", XINE_VERSION_CODE, &ao_info_none, ao_none_init_class }
 

Typedefs

typedef struct ao_none_driver_s ao_none_driver_t
 

Functions

static int ao_none_open (ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int mode)
 
static int ao_none_num_channels (ao_driver_t *this_gen)
 
static int ao_none_bytes_per_frame (ao_driver_t *this_gen)
 
static int ao_none_get_gap_tolerance (ao_driver_t *this_gen)
 
static int ao_none_write (ao_driver_t *this_gen, int16_t *data, uint32_t num_frames)
 
static int ao_none_delay (ao_driver_t *this_gen)
 
static void ao_none_close (ao_driver_t *this_gen)
 
static uint32_t ao_none_get_capabilities (ao_driver_t *this_gen)
 
static void ao_none_exit (ao_driver_t *this_gen)
 
static int ao_none_get_property (ao_driver_t *this_gen, int property)
 
static int ao_none_set_property (ao_driver_t *this_gen, int property, int value)
 
static int ao_none_ctrl (ao_driver_t *this_gen, int cmd,...)
 
static ao_driver_tao_none_open_plugin (audio_driver_class_t *class_gen, const void *data)
 
static void * ao_none_init_class (xine_t *xine, const void *data)
 

Variables

static const ao_info_t ao_info_none
 
const plugin_info_t xine_plugin_info[] EXPORTED
 

Macro Definition Documentation

◆ AO_NONE_CATALOG

#define AO_NONE_CATALOG   { PLUGIN_AUDIO_OUT, AO_OUT_NONE_IFACE_VERSION, "none", XINE_VERSION_CODE, &ao_info_none, ao_none_init_class }

◆ AO_OUT_NONE_IFACE_VERSION

#define AO_OUT_NONE_IFACE_VERSION   9

◆ AON_GAP_TOLERANCE

#define AON_GAP_TOLERANCE   AO_MAX_GAP

◆ AUDIO_FRAGMENT_SIZE

#define AUDIO_FRAGMENT_SIZE   8192

◆ AUDIO_NUM_FRAGMENTS

#define AUDIO_NUM_FRAGMENTS   15

◆ LOG_MODULE

#define LOG_MODULE   "audio_none_out"

Typedef Documentation

◆ ao_none_driver_t

Function Documentation

◆ ao_none_bytes_per_frame()

static int ao_none_bytes_per_frame ( ao_driver_t this_gen)
static

Referenced by ao_none_open_plugin().

◆ ao_none_close()

static void ao_none_close ( ao_driver_t this_gen)
static

◆ ao_none_ctrl()

static int ao_none_ctrl ( ao_driver_t this_gen,
int  cmd,
  ... 
)
static

◆ ao_none_delay()

static int ao_none_delay ( ao_driver_t this_gen)
static

Referenced by ao_none_open_plugin().

◆ ao_none_exit()

static void ao_none_exit ( ao_driver_t this_gen)
static

References ao_none_close().

Referenced by ao_none_open_plugin().

◆ ao_none_get_capabilities()

static uint32_t ao_none_get_capabilities ( ao_driver_t this_gen)
static

Referenced by ao_none_open_plugin().

◆ ao_none_get_gap_tolerance()

static int ao_none_get_gap_tolerance ( ao_driver_t this_gen)
static

References AON_GAP_TOLERANCE.

Referenced by ao_none_open_plugin().

◆ ao_none_get_property()

static int ao_none_get_property ( ao_driver_t this_gen,
int  property 
)
static

Referenced by ao_none_open_plugin().

◆ ao_none_init_class()

static void * ao_none_init_class ( xine_t xine,
const void *  data 
)
static

◆ ao_none_num_channels()

static int ao_none_num_channels ( ao_driver_t this_gen)
static

Referenced by ao_none_open_plugin().

◆ ao_none_open()

static int ao_none_open ( ao_driver_t this_gen,
uint32_t  bits,
uint32_t  rate,
int  mode 
)
static

◆ ao_none_open_plugin()

static ao_driver_t * ao_none_open_plugin ( audio_driver_class_t class_gen,
const void *  data 
)
static

◆ ao_none_set_property()

static int ao_none_set_property ( ao_driver_t this_gen,
int  property,
int  value 
)
static

Referenced by ao_none_open_plugin().

◆ ao_none_write()

static int ao_none_write ( ao_driver_t this_gen,
int16_t *  data,
uint32_t  num_frames 
)
static

References xine_usec_sleep().

Referenced by ao_none_open_plugin().

Variable Documentation

◆ ao_info_none

const ao_info_t ao_info_none
static
Initial value:
= {
.priority = -1,
}

◆ EXPORTED

const plugin_info_t xine_plugin_info [] EXPORTED
Initial value:
= {
{ PLUGIN_NONE, 0, NULL, 0, NULL, NULL }
}
static const ao_info_t ao_info_none
Definition: audio_none_out.c:248
static void * ao_none_init_class(xine_t *xine, const void *data)
Definition: audio_none_out.c:227
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
NULL
Definition: xine_plugin.c:78
#define PLUGIN_NONE
Definition: xine_plugin.h:29
#define PLUGIN_AUDIO_OUT
Definition: xine_plugin.h:35