xine-lib
1.2.10
|
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include <xine/xine_internal.h>
#include <xine/audio_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "frame.h"
#include "synth.h"
Data Structures | |
struct | mad_decoder_s |
Macros | |
#define | LOG_MODULE "mad_decoder" |
#define | LOG_VERBOSE |
#define | INPUT_BUF_SIZE 16384 |
#define | MAD_MIN_SIZE 2889 |
Typedefs | |
typedef struct mad_decoder_s | mad_decoder_t |
Functions | |
static void | mad_reset (audio_decoder_t *this_gen) |
static void | mad_discontinuity (audio_decoder_t *this_gen) |
static signed int | scale (mad_fixed_t sample) |
static void | mad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) |
static void | mad_dispose (audio_decoder_t *this_gen) |
static audio_decoder_t * | open_plugin (audio_decoder_class_t *class_gen, xine_stream_t *stream) |
static void * | init_plugin (xine_t *xine, const void *data) |
Variables | |
static const uint32_t | audio_types [] |
static const decoder_info_t | dec_info_audio |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define INPUT_BUF_SIZE 16384 |
#define LOG_MODULE "mad_decoder" |
#define LOG_VERBOSE |
#define MAD_MIN_SIZE 2889 |
typedef struct mad_decoder_s mad_decoder_t |
|
static |
References N_, NULL, audio_decoder_class_s::open_plugin, and open_plugin().
|
static |
References _x_meta_info_get(), _x_meta_info_set_utf8(), _x_stream_info_get(), _x_stream_info_set(), AO_CAP_MODE_MONO, AO_CAP_MODE_STEREO, BUF_FLAG_AUDIO_PADDING, BUF_FLAG_HEADER, BUF_FLAG_PREVIEW, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, INPUT_BUF_SIZE, lprintf, mad_reset(), audio_buffer_s::mem, mode(), audio_buffer_s::num_frames, buf_element_s::pts, scale(), buf_element_s::size, audio_buffer_s::vpts, xine_fast_memcpy, XINE_META_INFO_AUDIOCODEC, XINE_STREAM_INFO_AUDIO_BITRATE, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
Referenced by mad_decode_data(), and open_plugin().
|
static |
References lprintf, mad_decode_data(), mad_discontinuity(), mad_dispose(), mad_reset(), and NULL.
Referenced by init_plugin().
|
inlinestatic |
|
static |
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |