OSDN Git Service

doc: fix channel layout value in abuffer example.
authorClément Bœsch <clement.boesch@smartjog.com>
Tue, 14 Feb 2012 11:16:51 +0000 (12:16 +0100)
committerClément Bœsch <ubitux@gmail.com>
Mon, 20 Feb 2012 08:23:44 +0000 (09:23 +0100)
The channel layout must start with 0x, otherwise it is parsed as a
number of channels.

doc/filters.texi

index 12b551c..b885958 100644 (file)
@@ -543,10 +543,10 @@ abuffer=44100:s16:stereo:planar
 
 will instruct the source to accept planar 16bit signed stereo at 44100Hz.
 Since the sample format with name "s16" corresponds to the number
-1 and the "stereo" channel layout corresponds to the value 3, this is
+1 and the "stereo" channel layout corresponds to the value 0x3, this is
 equivalent to:
 @example
-abuffer=44100:1:3:1
+abuffer=44100:1:0x3:1
 @end example
 
 @section aevalsrc