diff options
author | Matthew Gregan <[email protected]> | 2013-09-20 17:38:25 +1200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2013-09-20 17:38:38 +1200 |
commit | 2501ae9cb3e983dbb3fd31a8b144e9270a9db8b1 (patch) | |
tree | 9d917dc1f1702913a58b9a4ba224db39bce10ad2 /src/cubeb-internal.h | |
parent | 52ef517dbb077949d2562c9943dc7238648bdb93 (diff) | |
download | cubeb-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.h | 1 |
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 */ |