aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb-internal.h
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2013-09-20 17:38:25 +1200
committerMatthew Gregan <[email protected]>2013-09-20 17:38:38 +1200
commit2501ae9cb3e983dbb3fd31a8b144e9270a9db8b1 (patch)
tree9d917dc1f1702913a58b9a4ba224db39bce10ad2 /src/cubeb-internal.h
parent52ef517dbb077949d2562c9943dc7238648bdb93 (diff)
downloadcubeb-2501ae9cb3e983dbb3fd31a8b144e9270a9db8b1.tar.gz
cubeb-2501ae9cb3e983dbb3fd31a8b144e9270a9db8b1.zip
add support for querying the actual stream latency.
(this imports changes from BMO 904617.)
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 33fa268..470c679 100644
--- a/src/cubeb-internal.h
+++ b/src/cubeb-internal.h
@@ -23,6 +23,7 @@ struct cubeb_ops {
int (* stream_start)(cubeb_stream * stream);
int (* stream_stop)(cubeb_stream * stream);
int (* stream_get_position)(cubeb_stream * stream, uint64_t * position);
+ int (* stream_get_latency)(cubeb_stream * stream, uint32_t * latency);
};
#endif /* CUBEB_INTERNAL_0eb56756_4e20_4404_a76d_42bf88cd15a5 */