xine-lib 1.2.11
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xine.h"
#include <xine/xine_internal.h>
#include <xine/audio_out.h>
#include <xine/xineutils.h>
#include <directfb.h>
#include <fusionsound.h>
#include <fusionsound_version.h>
Data Structures | |
struct | fusionsound_driver_s |
struct | fusionsound_class_t |
Macros | |
#define | LOG_MODULE "audio_fusionsound_out" |
#define | LOG_VERBOSE |
#define | VERSION_CODE(M, m, r) (((M) * 1000) + ((m) * 100) + (r)) |
#define | FUSIONSOUND_VERSION_CODE |
#define | FS_MAX_CHANNELS 2 |
#define | AO_OUT_FS_IFACE_VERSION 9 |
#define | GAP_TOLERANCE 5000 |
Typedefs | |
typedef struct fusionsound_driver_s | fusionsound_driver_t |
Functions | |
static int | ao_fusionsound_open (ao_driver_t *ao_driver, uint32_t bits, uint32_t rate, int mode) |
static int | ao_fusionsound_num_channels (ao_driver_t *ao_driver) |
static int | ao_fusionsound_bytes_per_frame (ao_driver_t *ao_driver) |
static int | ao_fusionsound_delay (ao_driver_t *ao_driver) |
static int | ao_fusionsound_get_gap_tolerance (ao_driver_t *ao_driver) |
static int | ao_fusionsound_write (ao_driver_t *ao_driver, int16_t *data, uint32_t num_frames) |
static void | ao_fusionsound_close (ao_driver_t *ao_driver) |
static uint32_t | ao_fusionsound_get_capabilities (ao_driver_t *ao_driver) |
static void | ao_fusionsound_exit (ao_driver_t *ao_driver) |
static int | ao_fusionsound_get_property (ao_driver_t *ao_driver, int property) |
static int | ao_fusionsound_set_property (ao_driver_t *ao_driver, int property, int value) |
static int | ao_fusionsound_control (ao_driver_t *ao_driver, int cmd,...) |
static ao_driver_t * | open_plugin (audio_driver_class_t *ao_class, const void *data) |
static void * | init_class (xine_t *xine, const void *data) |
Variables | |
static const ao_info_t | ao_info_fusionsound |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define AO_OUT_FS_IFACE_VERSION 9 |
#define FS_MAX_CHANNELS 2 |
#define FUSIONSOUND_VERSION_CODE |
#define GAP_TOLERANCE 5000 |
#define LOG_MODULE "audio_fusionsound_out" |
#define LOG_VERBOSE |
#define VERSION_CODE | ( | M, | |
m, | |||
r | |||
) | (((M) * 1000) + ((m) * 100) + (r)) |
typedef struct fusionsound_driver_s fusionsound_driver_t |
|
static |
Referenced by open_plugin().
|
static |
References NULL.
Referenced by open_plugin().
|
static |
References AO_CTRL_FLUSH_BUFFERS, AO_CTRL_PLAY_PAUSE, AO_CTRL_PLAY_RESUME, and lprintf.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References AO_CAP_16BITS, AO_CAP_24BITS, AO_CAP_8BITS, AO_CAP_FLOAT32, AO_CAP_MIXER_VOL, AO_CAP_MODE_4_1CHANNEL, AO_CAP_MODE_4CHANNEL, AO_CAP_MODE_5_1CHANNEL, AO_CAP_MODE_5CHANNEL, AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, and AO_CAP_MUTE_VOL.
Referenced by open_plugin().
|
static |
References GAP_TOLERANCE.
Referenced by open_plugin().
|
static |
References AO_PROP_AMP, AO_PROP_AMP_MUTE, AO_PROP_MIXER_VOL, AO_PROP_MUTE_VOL, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References AO_CAP_MODE_4_1CHANNEL, AO_CAP_MODE_4CHANNEL, AO_CAP_MODE_5_1CHANNEL, AO_CAP_MODE_5CHANNEL, AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, bits, lprintf, mode(), NULL, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
References AO_PROP_AMP, AO_PROP_AMP_MUTE, AO_PROP_MIXER_VOL, AO_PROP_MUTE_VOL, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
References lprintf, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
|
static |
References fusionsound_class_t::ao_class, ao_fusionsound_bytes_per_frame(), ao_fusionsound_close(), ao_fusionsound_control(), ao_fusionsound_delay(), ao_fusionsound_exit(), ao_fusionsound_get_capabilities(), ao_fusionsound_get_gap_tolerance(), ao_fusionsound_get_property(), ao_fusionsound_num_channels(), ao_fusionsound_open(), ao_fusionsound_set_property(), ao_fusionsound_write(), NULL, fusionsound_class_t::xine, XINE_VERBOSITY_LOG, and xprintf.
Referenced by init_class().
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |