summaryrefslogtreecommitdiff
path: root/doc/outdevs.texi
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2013-11-24 02:35:33 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-27 10:12:54 +0100
commit3aaa50a9972c9f350ad9ce6decf3ecb2aaffa84a (patch)
treec0963c38a5a7dc7a6cf5dc9b8f5b2e0507f99f1e /doc/outdevs.texi
parenta12b4bd107cf028e44cab8dafca61a866cecd252 (diff)
downloadffmpeg-3aaa50a9972c9f350ad9ce6decf3ecb2aaffa84a.tar.gz
lavd/pulse_audio_enc: add buffer size control options
Add options to control the size of the PulseAudio buffer. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'doc/outdevs.texi')
-rw-r--r--doc/outdevs.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/outdevs.texi b/doc/outdevs.texi
index 6c8422cca4..f18982300b 100644
--- a/doc/outdevs.texi
+++ b/doc/outdevs.texi
@@ -164,6 +164,19 @@ by default it is set to the specified output name.
Specify the device to use. Default device is used when not provided.
List of output devices can be obtained with command @command{pactl list sinks}.
+@item buffer_size
+@item buffer_duration
+Control the size and duration of the PulseAudio buffer. A small buffer
+gives more control, but requires more frequent updates.
+
+@option{buffer_size} specifies size in bytes while
+@option{buffer_duration} specifies duration in milliseconds.
+
+When both options are provided then the highest value is used
+(duration is recalculated to bytes using stream parameters). If they
+are set to 0 (which is default), the device will use the default
+PulseAudio duration value. By default PulseAudio set buffer duration
+to around 2 seconds.
@end table
@subsection Examples