diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-30 10:11:22 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-30 14:03:54 +0200 |
commit | 0689d5e17ac0a3269c604b4df2c01140be328647 (patch) | |
tree | b13f02db581e86c23feeaeffa396503ef37cef0c /libavfilter/audio.h | |
parent | c9c4835f5164b86510591d4ba604bfb448c7a356 (diff) | |
download | ffmpeg-0689d5e17ac0a3269c604b4df2c01140be328647.tar.gz |
lavfi: implement samples framing on links.
Links can be set up to group samples into buffers of
specified minimum and maximum size.
Diffstat (limited to 'libavfilter/audio.h')
-rw-r--r-- | libavfilter/audio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/audio.h b/libavfilter/audio.h index d4282b59fe..cab1a6c722 100644 --- a/libavfilter/audio.h +++ b/libavfilter/audio.h @@ -73,4 +73,11 @@ AVFilterBufferRef *ff_get_audio_buffer(AVFilterLink *link, int perms, */ void ff_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref); +/** + * Send a buffer of audio samples to the next link, without checking + * min_samples. + */ +void ff_filter_samples_framed(AVFilterLink *link, + AVFilterBufferRef *samplesref); + #endif /* AVFILTER_AUDIO_H */ |