aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb-internal.h
diff options
context:
space:
mode:
authorPaul Adenot <[email protected]>2020-04-29 16:23:15 +0200
committerGitHub <[email protected]>2020-04-29 16:23:15 +0200
commit35190a8da650be297edb91d2db778bed622d8691 (patch)
tree4f64189b1c4dd81e2464116521564becd0b1298d /src/cubeb-internal.h
parent616d773441b5355800ce64197a699e6cd6b36172 (diff)
downloadcubeb-35190a8da650be297edb91d2db778bed622d8691.tar.gz
cubeb-35190a8da650be297edb91d2db778bed622d8691.zip
Add a method to get audio input latency on a stream (#583)
Diffstat (limited to 'src/cubeb-internal.h')
-rw-r--r--src/cubeb-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cubeb-internal.h b/src/cubeb-internal.h
index 312a9ea..4aee68f 100644
--- a/src/cubeb-internal.h
+++ b/src/cubeb-internal.h
@@ -63,6 +63,7 @@ struct cubeb_ops {
int (* stream_reset_default_device)(cubeb_stream * stream);
int (* stream_get_position)(cubeb_stream * stream, uint64_t * position);
int (* stream_get_latency)(cubeb_stream * stream, uint32_t * latency);
+ int (* stream_get_input_latency)(cubeb_stream * stream, uint32_t * latency);
int (* stream_set_volume)(cubeb_stream * stream, float volumes);
int (* stream_get_current_device)(cubeb_stream * stream,
cubeb_device ** const device);