Mercurial > mplayer.hg
changeset 9750:0d4904611455
Set deuxer_type instead of using our own global var.
author | albeu |
---|---|
date | Sun, 30 Mar 2003 17:11:27 +0000 |
parents | 58e5880f4788 |
children | 00c97b0891e3 |
files | libmpdemux/demux_rawaudio.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_rawaudio.c Sun Mar 30 17:10:36 2003 +0000 +++ b/libmpdemux/demux_rawaudio.c Sun Mar 30 17:11:27 2003 +0000 @@ -14,14 +14,14 @@ #include "stheader.h" -int use_rawaudio = 0; +extern int demuxer_type; static int channels = 2; static int samplerate = 44100; static int samplesize = 2; static int format = 0x1; // Raw PCM config_t demux_rawaudio_opts[] = { - { "on", &use_rawaudio, CONF_TYPE_FLAG, 0,0, 1, NULL }, + { "on", &demuxer_type, CONF_TYPE_FLAG, 0,0, DEMUXER_TYPE_RAWAUDIO, NULL }, { "channels", &channels, CONF_TYPE_INT,CONF_RANGE,1,8, NULL }, { "rate", &samplerate, CONF_TYPE_INT,CONF_RANGE,1000,8*48000, NULL }, { "samplesize", &samplesize, CONF_TYPE_INT,CONF_RANGE,1,8, NULL },