mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-06-01 19:07:02 +00:00
Merge #80
This commit is contained in:
@@ -440,6 +440,7 @@ alsapcm_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||
static void alsapcm_dealloc(alsapcm_t *self)
|
||||
{
|
||||
if (self->handle) {
|
||||
snd_pcm_pause(self->handle, 1);
|
||||
snd_pcm_drain(self->handle);
|
||||
snd_pcm_close(self->handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user