mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
blabla
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user