Clear ALSA's PCM handle after closing it
This commit is contained in:
parent
f96a8fe369
commit
525b6fe168
@ -1146,6 +1146,7 @@ error2:
|
||||
ll_ringbuffer_free(self->ring);
|
||||
self->ring = NULL;
|
||||
snd_pcm_close(self->pcmHandle);
|
||||
self->pcmHandle = NULL;
|
||||
|
||||
return ALC_INVALID_VALUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user