Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] radio-si470x doc: add info about v4l2-ctl and sox+alsa

Patch adds information about using v4l2-ctl utility to tune the si470x
radio and example how to use sox+alsa to redirect sound from radio sound
device to another sound device.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Alexey Klimov and committed by
Mauro Carvalho Chehab
4db45af5 535ec049

+6 -1
+6 -1
Documentation/video4linux/si470x.txt
··· 53 53 - kradio - Comfortable Radio Application for KDE 54 54 - radio - ncurses-based radio application 55 55 - mplayer - The Ultimate Movie Player For Linux 56 + - v4l2-ctl - Collection of command line video4linux utilities 57 + For example, you can use: 58 + v4l2-ctl -d /dev/radio0 --set-ctrl=volume=10,mute=0 --set-freq=95.21 --all 56 59 57 60 There is also a library libv4l, which can be used. It's going to have a function 58 61 for frequency seeking, either by using hardware functionality as in radio-si470x ··· 78 75 If you just want to test audio (very poor quality): 79 76 cat /dev/dsp1 > /dev/dsp 80 77 81 - If you use OSS try: 78 + If you use sox + OSS try: 82 79 sox -2 --endian little -r 96000 -t oss /dev/dsp1 -t oss /dev/dsp 80 + or using sox + alsa: 81 + sox --endian little -c 2 -S -r 96000 -t alsa hw:1 -t alsa -r 96000 hw:0 83 82 84 83 If you use arts try: 85 84 arecord -D hw:1,0 -r96000 -c2 -f S16_LE | artsdsp aplay -B -