From 405f810457b760a2fba64c340efdeefa2f6ab892 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 29 Mar 2020 17:48:17 +0200 Subject: blabla --- src/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound.cpp') diff --git a/src/sound.cpp b/src/sound.cpp index fcfa7ae..9eec833 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -59,7 +59,7 @@ int sound_device_get_by_name(SoundDevice *device, const char *name, unsigned int return 0; } -int sound_device_close(SoundDevice *device) { +void sound_device_close(SoundDevice *device) { /* TODO: Is this also needed in @sound_device_get_by_name on failure? */ snd_pcm_drain((snd_pcm_t*)device->handle); snd_pcm_close((snd_pcm_t*)device->handle); -- cgit v1.2.3