xine-lib 1.2.11
|
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/demux.h>
#include <xine/buffer.h>
#include "bswap.h"
#include "group_audio.h"
Data Structures | |
struct | demux_cdda_t |
Macros | |
#define | LOG_MODULE "demux_cdda" |
#define | CD_BYTES_PER_SECOND (44100 * 2 * 2) |
Functions | |
static int | demux_cdda_send_chunk (demux_plugin_t *this_gen) |
static void | demux_cdda_send_headers (demux_plugin_t *this_gen) |
static int | demux_cdda_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_cdda_get_status (demux_plugin_t *this_gen) |
static int | demux_cdda_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_cdda_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_cdda_get_optional_data (demux_plugin_t *this_gen, void *data, int data_type) |
static demux_plugin_t * | open_plugin (demux_class_t *class_gen, xine_stream_t *stream, input_plugin_t *input) |
void * | demux_cdda_init_plugin (xine_t *xine, const void *data) |
#define CD_BYTES_PER_SECOND (44100 * 2 * 2) |
#define LOG_MODULE "demux_cdda" |
|
static |
References DEMUX_CAP_NOCAP.
Referenced by open_plugin().
|
static |
References DEMUX_OPTIONAL_UNSUPPORTED.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References CD_BYTES_PER_SECOND, and input().
Referenced by open_plugin().
void * demux_cdda_init_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _x_demux_flush_engine(), BUF_FLAG_SEEK, CD_BYTES_PER_SECOND, DEMUX_OK, and input().
Referenced by open_plugin().
|
static |
References _x_demux_control_newpts(), BUF_AUDIO_LPCM_LE, BUF_FLAG_FRAME_END, CD_BYTES_PER_SECOND, buf_element_s::decoder_flags, DEMUX_FINISHED, buf_element_s::extra_info, input(), extra_info_s::input_normpos, extra_info_s::input_time, NULL, buf_element_s::pts, and buf_element_s::type.
Referenced by open_plugin().
|
static |
References _x_demux_control_start(), _x_stream_info_set(), BUF_AUDIO_LPCM_LE, BUF_FLAG_FRAME_END, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, buf_element_s::decoder_flags, buf_element_s::decoder_info, DEMUX_OK, input(), INPUT_IS_SEEKABLE, buf_element_s::size, buf_element_s::type, XINE_STREAM_INFO_AUDIO_BITS, XINE_STREAM_INFO_AUDIO_CHANNELS, XINE_STREAM_INFO_AUDIO_SAMPLERATE, XINE_STREAM_INFO_HAS_AUDIO, XINE_STREAM_INFO_HAS_VIDEO, and XINE_STREAM_INFO_SEEKABLE.
Referenced by open_plugin().
|
static |
References xine_stream_s::content_detection_method, default_demux_plugin_dispose, demux_cdda_get_capabilities(), demux_cdda_get_optional_data(), demux_cdda_get_status(), demux_cdda_get_stream_length(), demux_cdda_seek(), demux_cdda_send_chunk(), demux_cdda_send_headers(), DEMUX_FINISHED, input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, and NULL.
Referenced by demux_cdda_init_plugin().