Sync -channels and -srate options with the XML docs.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14768 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-02-22 20:26:16 +00:00
parent 81ef1c7db5
commit 3b8cfe0f63
1 changed files with 12 additions and 5 deletions

View File

@ -815,8 +815,10 @@ Specify the CD-ROM device (default: /dev/\:cdrom).
.B \-channels <number> .B \-channels <number>
Change the number of playback channels (default: 2). Change the number of playback channels (default: 2).
If the number of output channels is bigger than the number of input channels If the number of output channels is bigger than the number of input channels
empty channels are inserted (unless mixing from mono to stereo, then the mono empty channels are inserted with the help of the channels audio filter (unless
channel is repeated in both output channels). mixing from mono to stereo, then the mono channel is repeated in both
output channels).
The routing will be the default routing for the channels filter.
If the number of output channels is smaller than the number of input channels, If the number of output channels is smaller than the number of input channels,
results depend on the audio decoder (\-afm). results depend on the audio decoder (\-afm).
MPlayer asks the decoder to decode the audio into as many channels as MPlayer asks the decoder to decode the audio into as many channels as
@ -829,8 +831,8 @@ In that case liba52 does the decoding by default and correctly downmixes the
audio into the requested number of channels. audio into the requested number of channels.
.br .br
.I NOTE: .I NOTE:
This option is honored by codecs (AC3 only), filters (surround) and ao drivers This option is honored by codecs (AC3 only), filters (surround) and audio
(OSS at least). output drivers (OSS at least).
.sp 1 .sp 1
Available options are: Available options are:
.sp 1 .sp 1
@ -1095,9 +1097,14 @@ Useful for playback from CD-ROM images or VOB files with junk at the beginning.
. .
.TP .TP
.B \-srate <Hz> .B \-srate <Hz>
Selects the given output sampling rate, resampling if necessary. Selects the sample rate to be used by the sound card
(of course sound cards have limits on this).
If the sample frequency of your sound card is different from that
of the current media, the resample audio filter will be inserted
into the audio filter layer to compensate for the difference.
The type of resampling can be controlled by the \-af-adv option. The type of resampling can be controlled by the \-af-adv option.
The default is fast resampling that may cause distortion. The default is fast resampling that may cause distortion.
.br
MEncoder passes this value to LAME for resampling. MEncoder passes this value to LAME for resampling.
. .
.TP .TP