diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-09-17 03:17:06 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-09-18 12:38:33 +0200 |
commit | e72aa524d894e03ac13f549c3f9ee67bc6928dbc (patch) | |
tree | cd5f932ea362f1b3e7ec4b689e1bc8b7c0905db7 /doc/filters.texi | |
parent | 44ab77db9efaa41f968b9e90aa8b58e9d416a48a (diff) | |
download | ffmpeg-e72aa524d894e03ac13f549c3f9ee67bc6928dbc.tar.gz |
asrc_anullsrc: implement a request_frame callback for returning frames
This is mainly useful for filters (like the sox synth), which
overwrite the content of the passed data.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index d65d45ada8..173c6f6c79 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -309,8 +309,10 @@ value is "-1". @section anullsrc -Null audio source, never return audio frames. It is mainly useful as a -template and to be employed in analysis / debugging tools. +Null audio source, return unprocessed audio frames. It is mainly useful +as a template and to be employed in analysis / debugging tools, or as +the source for filters which ignore the input data (for example the sox +synth filter). It accepts an optional sequence of @var{key}=@var{value} pairs, separated by ":". @@ -331,6 +333,10 @@ is "stereo". Check the channel_layout_map definition in @file{libavcodec/audioconvert.c} for the mapping between strings and channel layout values. + +@item nb_samples, n +Set the number of samples per requested frames. + @end table Follow some examples: |