mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
Set deuxer_type instead of using our own global var.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9751 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c5c742302c
commit
93ad150457
@ -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 },
|
||||
|
Loading…
Reference in New Issue
Block a user