diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-13 16:29:32 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-13 16:29:32 +0000 |
commit | 2283b6305f9a9d0d287705348f8ee9d1333caa99 (patch) | |
tree | 22bcfcb52ed464003c938bedf2193f0681cdf78c /libmpdemux/demux_rawaudio.c | |
parent | 7dadaf5e397fd9bbf7e813ee8226636b79eca78a (diff) | |
download | mpv-2283b6305f9a9d0d287705348f8ee9d1333caa99.tar.bz2 mpv-2283b6305f9a9d0d287705348f8ee9d1333caa99.tar.xz |
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_rawaudio.c')
-rw-r--r-- | libmpdemux/demux_rawaudio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/demux_rawaudio.c b/libmpdemux/demux_rawaudio.c index 1dc3963d7f..f096599abc 100644 --- a/libmpdemux/demux_rawaudio.c +++ b/libmpdemux/demux_rawaudio.c @@ -7,7 +7,6 @@ #include <string.h> #include "../m_option.h" -#include "../m_config.h" #include "stream.h" #include "demuxer.h" @@ -20,7 +19,7 @@ static int samplerate = 44100; static int samplesize = 2; static int format = 0x1; // Raw PCM -config_t demux_rawaudio_opts[] = { +m_option_t demux_rawaudio_opts[] = { { "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 }, |