summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_cdda.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-16 23:33:42 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-16 23:33:42 +0000
commit847f0e85e8b0c8135294258a9507fba03cc1cc30 (patch)
tree0a74838023ea90c3bb53c7c4f737bab5dc84e427 /src/demuxers/demux_cdda.c
parentb88ff04361ced758928d2ad8b87cb8986d044a35 (diff)
downloadxine-lib-847f0e85e8b0c8135294258a9507fba03cc1cc30.tar.gz
xine-lib-847f0e85e8b0c8135294258a9507fba03cc1cc30.tar.bz2
New stream/meta info (safe) stuff.
BIG NOTE: use helpers to access to these informations (get/set/reset): _x_{stream,meta}_info_{get,set,reset}() are for internal use, don't use *_public() ones from inside the beast ;-) Some wrongly names "xine_" fonction renaming. CVS patchset: 5757 CVS date: 2003/11/16 23:33:42
Diffstat (limited to 'src/demuxers/demux_cdda.c')
-rw-r--r--src/demuxers/demux_cdda.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/demuxers/demux_cdda.c b/src/demuxers/demux_cdda.c
index ac6ac1c53..c771d93c6 100644
--- a/src/demuxers/demux_cdda.c
+++ b/src/demuxers/demux_cdda.c
@@ -24,7 +24,7 @@
* linear PCM "decoder" (which in turn sends them directly to the audio
* output target; this is a really fancy CD-playing architecture).
*
- * $Id: demux_cdda.c,v 1.16 2003/11/15 14:00:42 miguelfreitas Exp $
+ * $Id: demux_cdda.c,v 1.17 2003/11/16 23:33:43 f1rmb Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -112,13 +112,13 @@ static void demux_cdda_send_headers(demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
/* load stream information */
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_SEEKABLE,
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_SEEKABLE,
INPUT_IS_SEEKABLE(this->input));
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 0);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_CHANNELS, 2);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE, 44100);
- xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_BITS, 16);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 0);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 1);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_CHANNELS, 2);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE, 44100);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_BITS, 16);
/* send start buffers */
_x_demux_control_start(this->stream);