aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sound.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound.hpp b/include/sound.hpp
index 41dd043..2b07254 100644
--- a/include/sound.hpp
+++ b/include/sound.hpp
@@ -16,7 +16,7 @@ typedef struct {
*/
int sound_device_get_by_name(SoundDevice *device, const char *name = "default", unsigned int num_channels = 1, unsigned int period_frame_size = 32);
-int sound_device_close(SoundDevice *device);
+void sound_device_close(SoundDevice *device);
/*
Returns the next chunk of audio into @buffer.