OSDN Git Service

docs/outdevs: add a few simple ALSA examples
authorLou Logan <lou@lrcd.com>
Tue, 10 Dec 2013 23:49:26 +0000 (14:49 -0900)
committerLou Logan <lou@lrcd.com>
Fri, 13 Dec 2013 03:21:52 +0000 (18:21 -0900)
doc/outdevs.texi

index f189823..a204f32 100644 (file)
@@ -22,6 +22,22 @@ A description of the currently available output devices follows.
 
 ALSA (Advanced Linux Sound Architecture) output device.
 
+@subsection Examples
+
+@itemize
+@item
+Play a file on default ALSA device:
+@example
+ffmpeg -i INPUT -f alsa default
+@end example
+
+@item
+Play a file on soundcard 1, audio device 7:
+@example
+ffmpeg -i INPUT -f alsa hw:1,7
+@end example
+@end itemize
+
 @section caca
 
 CACA output device.