summaryrefslogtreecommitdiff
path: root/doc/outdevs.texi
diff options
context:
space:
mode:
authorLou Logan <lou@lrcd.com>2013-12-10 14:49:26 -0900
committerLou Logan <lou@lrcd.com>2013-12-12 18:21:52 -0900
commitd546a59a813959924853f3582502e385e9bccf79 (patch)
treead9a2b7d87c3055a179ad7f2f01b919a0fe039fc /doc/outdevs.texi
parent5d8e4f6da03c0342157e6ac7fab1a8ac3a87a8b0 (diff)
downloadffmpeg-d546a59a813959924853f3582502e385e9bccf79.tar.gz
docs/outdevs: add a few simple ALSA examples
Diffstat (limited to 'doc/outdevs.texi')
-rw-r--r--doc/outdevs.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/outdevs.texi b/doc/outdevs.texi
index f18982300b..a204f3264a 100644
--- a/doc/outdevs.texi
+++ b/doc/outdevs.texi
@@ -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.