1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-11 04:01:31 +00:00

Improve radio section.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19599 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-08-29 22:28:34 +00:00
parent 867da260c9
commit 6b35c085e4

View File

@ -1549,16 +1549,16 @@ program (if present) you want to play.
Can be used with \-vid and \-aid. Can be used with \-vid and \-aid.
. .
.TP .TP
.B \-radio <option1:option2:...> (Radio only) .B \-radio <option1:option2:...> (radio only)
These options set various parameters of the radio capture module. These options set various parameters of the radio capture module.
For listening radio with MPlayer use 'radio://<frequency>' For listening to radio with MPlayer use 'radio://<frequency>'
(if channels option is not given) or (if channels option is not given) or 'radio://<channel_number>'
'radio://<channel_number>' (if channels option is given) as (if channels option is given) as a movie URL.
a movie URL. To start the grabbing subsystem, use radio://<frequency or channel>/capture.
To start grabbing subsystem, please use radio://<frequency or channel>/capture. If the capture keyword is not given you can listen to radio
If capture keyword is not given you can listen radio using line-in cable only. using the line-in cable only.
Using capture for listening is not recommended due to synchronization problems, Using capture to listen is not recommended due to synchronization
which makes this process uncomfortable. problems, which makes this process uncomfortable.
.sp 1 .sp 1
Available options are: Available options are:
.RSs .RSs
@ -1582,17 +1582,19 @@ channel list.
radio://1, radio://104.4, radio_set_channel 1 radio://1, radio://104.4, radio_set_channel 1
.IPs adevice=<value> (with radio capture enabled) .IPs adevice=<value> (with radio capture enabled)
Name of device to capture sound from. Name of device to capture sound from.
If not given capture will be disabled, even if capture keyword in URL used. Without such a name capture will be disabled,
For alsa devices use it in form hw=<card>.<device>. even if the capture keyword appears in the URL.
If device name contains '=' the module will use ALSA to capture, OSS otherwise. For ALSA devices use it in the form hw=<card>.<device>.
If the device name contains a '=', the module will use
ALSA to capture, otherwise OSS.
.IPs arate=<value> (with radio capture enabled) .IPs arate=<value> (with radio capture enabled)
Rate in samples per second (default 44100). Rate in samples per second (default: 44100).
.br .br
.I NOTE: .I NOTE:
When using audio capture set also When using audio capture set also \-rawaudio rate=<value> option
-rawaudio rate=<value> option with the same value as arate. If with the same value as arate.
you have problems with sound speed (runs too quickly) try to play with If you have problems with sound speed (runs too quickly), try to play
different values of rate (e.g. 48000,44100,32000,...). with different rate values (e.g.\& 48000,44100,32000,...).
.IPs achannels=<value> (with radio capture enabled) .IPs achannels=<value> (with radio capture enabled)
Number of audio channels to capture. Number of audio channels to capture.
.RE .RE