xine-lib 1.2.13-20230125hg15249
|
#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 <sys/stat.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/audio_out.h>
#include "bswap.h"
Data Structures | |
struct | ao_file_wavhdr |
struct | ao_file_driver_s |
struct | ao_file_class_t |
Macros | |
#define | LOG_MODULE "audio_file_out" |
#define | AO_OUT_FILE_IFACE_VERSION 9 |
#define | AOF_GAP_TOLERANCE INT_MAX |
#define | AO_FILE_CATALOG { PLUGIN_AUDIO_OUT, AO_OUT_FILE_IFACE_VERSION, "file", XINE_VERSION_CODE, &ao_info_file, ao_file_init_class } |
Typedefs | |
typedef struct ao_file_driver_s | ao_file_driver_t |
Functions | |
static int | ao_file_open (ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int mode) |
static int | ao_file_num_channels (ao_driver_t *this_gen) |
static int | ao_file_bytes_per_frame (ao_driver_t *this_gen) |
static int | ao_file_get_gap_tolerance (ao_driver_t *this_gen) |
static int | ao_file_write (ao_driver_t *this_gen, int16_t *data, uint32_t num_frames) |
static int | ao_file_delay (ao_driver_t *this_gen) |
static void | ao_file_close (ao_driver_t *this_gen) |
static uint32_t | ao_file_get_capabilities (ao_driver_t *this_gen) |
static void | ao_file_exit (ao_driver_t *this_gen) |
static int | ao_file_get_property (ao_driver_t *this_gen, int property) |
static int | ao_file_set_property (ao_driver_t *this_gen, int property, int value) |
static int | ao_file_ctrl (ao_driver_t *this_gen, int cmd,...) |
static ao_driver_t * | ao_file_open_plugin (audio_driver_class_t *class_gen, const void *data) |
static void * | ao_file_init_class (xine_t *xine, const void *data) |
Variables | |
static const ao_info_t | ao_info_file |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define AO_FILE_CATALOG { PLUGIN_AUDIO_OUT, AO_OUT_FILE_IFACE_VERSION, "file", XINE_VERSION_CODE, &ao_info_file, ao_file_init_class } |
#define AO_OUT_FILE_IFACE_VERSION 9 |
#define AOF_GAP_TOLERANCE INT_MAX |
Referenced by ao_file_get_gap_tolerance().
#define LOG_MODULE "audio_file_out" |
typedef struct ao_file_driver_s ao_file_driver_t |
|
static |
Referenced by ao_file_open_plugin().
|
static |
References le2me_32, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by ao_file_exit(), and ao_file_open_plugin().
|
static |
References AO_CTRL_FLUSH_BUFFERS, AO_CTRL_PLAY_PAUSE, and AO_CTRL_PLAY_RESUME.
Referenced by ao_file_open_plugin().
|
static |
References now(), NULL, xine_monotonic_clock(), and xine_usec_sleep().
Referenced by ao_file_open_plugin().
|
static |
References ao_file_close().
Referenced by ao_file_open_plugin().
|
static |
Referenced by ao_file_open_plugin().
|
static |
References AOF_GAP_TOLERANCE.
Referenced by ao_file_open_plugin().
|
static |
Referenced by ao_file_open_plugin().
|
static |
|
static |
Referenced by ao_file_open_plugin().
|
static |
References AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, ao_file_wavhdr::bData, bits, ao_file_wavhdr::bRiffMagic, ao_file_wavhdr::bWaveMagic, ao_file_wavhdr::dwAvgBytesPerSec, ao_file_wavhdr::dwDataLength, ao_file_wavhdr::dwSamplesPerSecond, le2me_16, le2me_32, mode(), NULL, ao_file_wavhdr::wBitsPerSample, ao_file_wavhdr::wBlockAlign, ao_file_wavhdr::wChannels, ao_file_wavhdr::wFmtSize, ao_file_wavhdr::wFormatTag, ao_file_wavhdr::wRiffLength, xine_create_cloexec(), xine_monotonic_clock(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by ao_file_open_plugin().
|
static |
References AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, ao_file_bytes_per_frame(), ao_file_close(), ao_file_ctrl(), ao_file_delay(), ao_file_exit(), ao_file_get_capabilities(), ao_file_get_gap_tolerance(), ao_file_get_property(), ao_file_num_channels(), ao_file_open(), ao_file_set_property(), ao_file_write(), lprintf, NULL, and ao_file_class_t::xine.
Referenced by ao_file_init_class().
|
static |
Referenced by ao_file_open_plugin().
|
static |
References bswap_16(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by ao_file_open_plugin().
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |