aboutsummaryrefslogtreecommitdiff
path: root/include/sound.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-04-14 00:02:47 +0200
committerdec05eba <dec05eba@protonmail.com>2024-04-14 00:02:47 +0200
commit2692a7d22c0b691f7f27f969c91e7af05c8ede7d (patch)
tree3697649ab946e53be25e0f157e1e70f3bc77b5f1 /include/sound.hpp
parent24c13ceaab1ea2ef026d6d94558d703ab8bebe82 (diff)
Testing audio latency compensation
Diffstat (limited to 'include/sound.hpp')
-rw-r--r--include/sound.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound.hpp b/include/sound.hpp
index 731e787..c0d0465 100644
--- a/include/sound.hpp
+++ b/include/sound.hpp
@@ -55,7 +55,7 @@ void sound_device_close(SoundDevice *device);
Returns the next chunk of audio into @buffer.
Returns the number of frames read, or a negative value on failure.
*/
-int sound_device_read_next_chunk(SoundDevice *device, void **buffer, double timeout_sec);
+int sound_device_read_next_chunk(SoundDevice *device, void **buffer, double timeout_sec, double *latency_sec);
std::vector<AudioInput> get_pulseaudio_inputs();