diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-04-11 18:46:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-04-11 18:46:34 +0200 |
commit | ddac6acaf2781ea9368dc5a59fdb009a6e2736a8 (patch) | |
tree | ee1f4536bcc1c43b15808e2c2b296fcaea590b8a /include/sound.hpp | |
parent | a6b1d13beb15fe7e70cc024598582ac64a51f70d (diff) |
Fix messed up audio on some distros (those using pulseaudio?)
Diffstat (limited to 'include/sound.hpp')
-rw-r--r-- | include/sound.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound.hpp b/include/sound.hpp index 32821bc..731e787 100644 --- a/include/sound.hpp +++ b/include/sound.hpp @@ -24,7 +24,6 @@ typedef struct { void *handle; unsigned int frames; - double latency_seconds; } SoundDevice; struct AudioInput { @@ -54,7 +53,7 @@ void sound_device_close(SoundDevice *device); /* Returns the next chunk of audio into @buffer. - Returns the number of bytes read, or a negative value on failure. + 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); |