xine-lib 1.2.11
|
#include <stdlib.h>
#include <string.h>
#include <xine/xine_internal.h>
#include <xine/audio_out.h>
#include <xine/buffer.h>
#include <ogg/ogg.h>
#include <vorbis/codec.h>
#include "ogg_combined.h"
Data Structures | |
struct | vorbis_class_t |
struct | vorbis_decoder_s |
Macros | |
#define | LOG_MODULE "vorbis_decoder" |
#define | LOG_VERBOSE |
#define | MAX_NUM_SAMPLES 4096 |
#define | INIT_BUFSIZE 8192 |
Typedefs | |
typedef struct vorbis_decoder_s | vorbis_decoder_t |
Functions | |
static void | vorbis_reset (audio_decoder_t *this_gen) |
static void | vorbis_discontinuity (audio_decoder_t *this_gen) |
static void | get_metadata (vorbis_decoder_t *this) |
static void | vorbis_check_bufsize (vorbis_decoder_t *this, int size) |
static void | vorbis_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) |
static void | vorbis_dispose (audio_decoder_t *this_gen) |
static audio_decoder_t * | open_plugin (audio_decoder_class_t *class_gen, xine_stream_t *stream) |
void * | vorbis_init_plugin (xine_t *xine, const void *data) |
Variables | |
struct { | |
const char * key | |
int xine_metainfo_index | |
} | vorbis_comment_keys [] |
#define INIT_BUFSIZE 8192 |
#define LOG_MODULE "vorbis_decoder" |
#define LOG_VERBOSE |
#define MAX_NUM_SAMPLES 4096 |
typedef struct vorbis_decoder_s vorbis_decoder_t |
|
static |
References _x_meta_info_set_utf8(), key, lprintf, NULL, vorbis_comment_keys, XINE_META_INFO_AUDIOCODEC, and xine_metainfo_index.
Referenced by vorbis_decode_data().
|
static |
References INIT_BUFSIZE, lprintf, NULL, vorbis_decode_data(), vorbis_discontinuity(), vorbis_dispose(), and vorbis_reset().
Referenced by vorbis_init_plugin().
|
static |
References _, XINE_VERBOSITY_LOG, and xprintf.
Referenced by vorbis_decode_data().
|
static |
References _x_ao_channels2mode(), _x_stream_info_set(), AO_CAP_MODE_MONO, BUF_FLAG_FRAME_END, BUF_FLAG_HEADER, BUF_FLAG_SPECIAL, BUF_FLAG_STDHEADER, BUF_SPECIAL_DECODER_CONFIG, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::decoder_info_ptr, get_metadata(), lprintf, MAX_NUM_SAMPLES, audio_buffer_s::mem, mode(), audio_buffer_s::num_frames, buf_element_s::pts, buf_element_s::size, audio_buffer_s::stream, vorbis_check_bufsize(), vorbis_decode_data(), audio_buffer_s::vpts, xine_fast_memcpy, xine_hexdump(), xine_log(), XINE_LOG_MSG, and XINE_STREAM_INFO_AUDIO_BITRATE.
Referenced by open_plugin(), and vorbis_decode_data().
|
static |
Referenced by open_plugin().
|
static |
References lprintf.
Referenced by open_plugin().
void * vorbis_init_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References default_audio_decoder_class_dispose, N_, NULL, and open_plugin().
|
static |
Referenced by open_plugin().
const char* key |
Referenced by get_metadata().
const struct { ... } vorbis_comment_keys[] |
Referenced by get_metadata().
int xine_metainfo_index |
Referenced by get_metadata().