aboutsummaryrefslogtreecommitdiff
path: root/include/sound.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-04-15 20:30:41 +0200
committerdec05eba <dec05eba@protonmail.com>2024-04-15 20:30:41 +0200
commit7e239c8aa289bbe71bcbb0bcc5908ca02cee4861 (patch)
treefda770d5c0bacfe1db4d5593174fa0b4fcfe9299 /include/sound.hpp
parent21a2e3c3fa7f91e06a8cfd0b1d3920e2c6083ff5 (diff)
Test latency comp
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..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<AudioInput> get_pulseaudio_inputs();