From 7e239c8aa289bbe71bcbb0bcc5908ca02cee4861 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 15 Apr 2024 20:30:41 +0200 Subject: Test latency comp --- 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..77bec99 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_seconds); std::vector get_pulseaudio_inputs(); -- cgit v1.2.3