From 4d1101d335923383c4410ef1234447258916370d Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 6 Jun 2021 22:32:08 +0900 Subject: audiolatency: Expose samplesperbuffer property ... for user to be able to set the number of required samples. For instance, our default value is 240 samples (about 5ms latency in case that sample rate is 48000), which might be larger than actual buffer size of audio capture device. Part-of: --- docs/plugins/gst_plugins_cache.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index bbfd18219..05af1ee5c 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -1261,6 +1261,20 @@ "readable": true, "type": "gboolean", "writable": true + }, + "samplesperbuffer": { + "blurb": "Number of samples in each outgoing buffer", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "240", + "max": "2147483647", + "min": "1", + "mutable": "null", + "readable": true, + "type": "gint", + "writable": true } }, "rank": "primary" -- cgit v1.2.1