diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-03-29 17:48:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-03-29 17:48:17 +0200 |
commit | 405f810457b760a2fba64c340efdeefa2f6ab892 (patch) | |
tree | 78c47cc0f5240362784b3f592818108b00636a42 /src/sound.cpp | |
parent | 7c8c97b1a8f844d7e0e682abe0dcba01c2973a66 (diff) |
blabla
Diffstat (limited to 'src/sound.cpp')
-rw-r--r-- | src/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |