Mercurial > mplayer.hg
diff cfg-mplayer.h @ 3181:c8edb0691f09
Extended oss output driver and libac3 to support 4 and 6 channel output mixes. added -channels command line option
author | steve |
---|---|
date | Wed, 28 Nov 2001 12:46:23 +0000 |
parents | ef2287ccc42b |
children | 1648d11fc36c |
line wrap: on
line diff
--- a/cfg-mplayer.h Wed Nov 28 12:44:39 2001 +0000 +++ b/cfg-mplayer.h Wed Nov 28 12:46:23 2001 +0000 @@ -74,6 +74,9 @@ /* from libvo/aspect.c */ extern float monitor_aspect; +/* from dec_audio, currently used for ac3surround decoder only */ +extern int audio_output_channels; + /* * CONF_TYPE_FUNC_FULL : * allows own implemtations for passing the params @@ -103,6 +106,7 @@ {"dsp", "Use -ao oss:dsp_path!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0}, {"master", &mixer_usemaster, CONF_TYPE_FLAG, 0, 0, 1}, + {"channels", &audio_output_channels, CONF_TYPE_INT, CONF_RANGE, 2, 6}, #ifdef HAVE_X11 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0}, #endif