Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-09-17 05:17:06 +0400
committerStefano Sabatini <stefasab@gmail.com>2011-09-18 14:38:33 +0400
commite72aa524d894e03ac13f549c3f9ee67bc6928dbc (patch)
treecd5f932ea362f1b3e7ec4b689e1bc8b7c0905db7 /doc/filters.texi
parent44ab77db9efaa41f968b9e90aa8b58e9d416a48a (diff)
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.texi10
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: