xine-lib 1.2.11
Data Structures | Macros | Functions
demux_cdda.c File Reference
#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_topen_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)
 

Macro Definition Documentation

◆ CD_BYTES_PER_SECOND

#define CD_BYTES_PER_SECOND   (44100 * 2 * 2)

◆ LOG_MODULE

#define LOG_MODULE   "demux_cdda"

Function Documentation

◆ demux_cdda_get_capabilities()

static uint32_t demux_cdda_get_capabilities ( demux_plugin_t this_gen)
static

References DEMUX_CAP_NOCAP.

Referenced by open_plugin().

◆ demux_cdda_get_optional_data()

static int demux_cdda_get_optional_data ( demux_plugin_t this_gen,
void *  data,
int  data_type 
)
static

References DEMUX_OPTIONAL_UNSUPPORTED.

Referenced by open_plugin().

◆ demux_cdda_get_status()

static int demux_cdda_get_status ( demux_plugin_t this_gen)
static

Referenced by open_plugin().

◆ demux_cdda_get_stream_length()

static int demux_cdda_get_stream_length ( demux_plugin_t this_gen)
static

References CD_BYTES_PER_SECOND, and input().

Referenced by open_plugin().

◆ demux_cdda_init_plugin()

void * demux_cdda_init_plugin ( xine_t xine,
const void *  data 
)

◆ demux_cdda_seek()

static int demux_cdda_seek ( demux_plugin_t this_gen,
off_t  start_pos,
int  start_time,
int  playing 
)
static

◆ demux_cdda_send_chunk()

static int demux_cdda_send_chunk ( demux_plugin_t this_gen)
static

◆ demux_cdda_send_headers()

static void demux_cdda_send_headers ( demux_plugin_t this_gen)
static

◆ open_plugin()

static demux_plugin_t * open_plugin ( demux_class_t class_gen,
xine_stream_t stream,
input_plugin_t input 
)
static