summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_vox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_vox.c')
-rw-r--r--src/demuxers/demux_vox.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/demuxers/demux_vox.c b/src/demuxers/demux_vox.c
index 152671811..2a7b237a8 100644
--- a/src/demuxers/demux_vox.c
+++ b/src/demuxers/demux_vox.c
@@ -22,7 +22,7 @@
* VOX Demuxer by Mike Melanson (melanson@pcisys.net)
* This a demuxer for .vox files containing raw Dialogic ADPCM data.
*
- * $Id: demux_vox.c,v 1.7 2003/08/25 21:51:39 f1rmb Exp $
+ * $Id: demux_vox.c,v 1.8 2003/10/31 22:56:21 tmattern Exp $
*
*/
@@ -110,11 +110,12 @@ static void demux_vox_send_headers(demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
/* load stream information */
- this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] = 0;
- this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = 1;
- this->stream->stream_info[XINE_STREAM_INFO_AUDIO_CHANNELS] = 1;
- this->stream->stream_info[XINE_STREAM_INFO_AUDIO_SAMPLERATE] = DIALOGIC_SAMPLERATE;
- this->stream->stream_info[XINE_STREAM_INFO_AUDIO_BITS] = 16;
+ 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, 1);
+ xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_SAMPLERATE,
+ DIALOGIC_SAMPLERATE);
+ xine_set_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_BITS, 16);
/* send start buffers */
xine_demux_control_start(this->stream);