From 1ee410f330d3b57b0ea1ccb915977f2ba4d99815 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 25 Sep 2010 01:56:58 +0000 Subject: Add asrc_anullsrc - null audio source. Based on a patch by "S.N. Hemanth Meenakshisundaram" smeenaks!ucsd!edu. Originally committed as revision 25188 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/filters.texi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 1dc222a119..e6e187dec0 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -14,6 +14,40 @@ Pass the audio source unchanged to the output. @c man end AUDIO FILTERS +@chapter Audio Sources +@c man begin AUDIO SOURCES + +Below is a description of the currently available audio sources. + +@section anullsrc + +Null audio source, never return audio frames. It is mainly useful as a +template and to be employed in analysis / debugging tools. + +It accepts as optional parameter a string of the form +@var{sample_rate}:@var{channel_layout}. + +@var{sample_rate} specify the sample rate, and defaults to 44100. + +@var{channel_layout} specify the channel layout, and can be either an +integer or a string representing a channel layout. The default value +of @var{channel_layout} is 3, which corresponds to CH_LAYOUT_STEREO. + +Check the channel_layout_map definition in +@file{libavcodec/audioconvert.c} for the correspondance between string +and channel layout values. + +Follow some examples: +@example +# set the sample rate to 48000 Hz and the channel layout to CH_LAYOUT_MONO. +anullsrc=48000:4 + +# same as +anullsrc=48000:mono +@end example + +@c man end AUDIO SOURCES + @chapter Video Filters @c man begin VIDEO FILTERS -- cgit v1.2.3