summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSeungha Yang <seungha@centricular.com>2021-06-06 22:32:08 +0900
committerSeungha Yang <seungha@centricular.com>2021-07-26 20:13:03 +0900
commit4d1101d335923383c4410ef1234447258916370d (patch)
tree1bb7b1a40a9a16165d1e956fe039c8ebd8cdf4b3 /docs
parentf9d7b708e12e5560759c585b44cfa3e523b61526 (diff)
downloadgstreamer-plugins-bad-4d1101d335923383c4410ef1234447258916370d.tar.gz
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2307>
Diffstat (limited to 'docs')
-rw-r--r--docs/plugins/gst_plugins_cache.json14
1 files changed, 14 insertions, 0 deletions
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"