From 2692a7d22c0b691f7f27f969c91e7af05c8ede7d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 14 Apr 2024 00:02:47 +0200 Subject: Testing audio latency compensation --- include/sound.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 get_pulseaudio_inputs(); -- cgit v1.2.3