xine-lib 1.2.11
|
#include <stdlib.h>
#include <string.h>
#include <FLAC/stream_decoder.h>
#include <FLAC/seekable_stream_decoder.h>
#include <xine/xine_internal.h>
#include <xine/audio_out.h>
#include <xine/buffer.h>
#include "flac_demuxer.h"
Data Structures | |
struct | flac_decoder_s |
Macros | |
#define | LEGACY_FLAC |
#define | LOG_MODULE "flac_decoder" |
#define | LOG_VERBOSE |
Typedefs | |
typedef struct flac_decoder_s | flac_decoder_t |
Functions | |
static FLAC__StreamDecoderReadStatus | flac_read_callback (const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], unsigned *bytes, void *client_data) |
static FLAC__StreamDecoderWriteStatus | flac_write_callback (const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 *const buffer[], void *client_data) |
static void | flac_metadata_callback (const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) |
static void | flac_error_callback (const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) |
static void | flac_reset (audio_decoder_t *this_gen) |
static void | flac_discontinuity (audio_decoder_t *this_gen) |
static void | flac_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) |
static void | flac_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 LEGACY_FLAC |
#define LOG_MODULE "flac_decoder" |
#define LOG_VERBOSE |
typedef struct flac_decoder_s flac_decoder_t |
|
static |
References _x_ao_channels2mode(), bits, BUF_FLAG_STDHEADER, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, lprintf, mode(), buf_element_s::pts, buf_element_s::size, and xine_fast_memcpy.
Referenced by open_plugin().
|
static |
References lprintf.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References lprintf.
Referenced by open_plugin().
|
static |
References lprintf, and metadata.
Referenced by open_plugin().
|
static |
References lprintf, and xine_fast_memcpy.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References lprintf, audio_buffer_s::mem, audio_buffer_s::mem_size, NULL, audio_buffer_s::num_frames, audio_buffer_s::stream, and audio_buffer_s::vpts.
Referenced by open_plugin().
|
static |
References N_, NULL, open_plugin(), and audio_decoder_class_s::open_plugin.
|
static |
References flac_decode_data(), flac_discontinuity(), flac_dispose(), flac_error_callback(), flac_metadata_callback(), flac_read_callback(), flac_reset(), flac_write_callback(), and NULL.
Referenced by init_plugin().
|
static |
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |