Mercurial > audlegacy-plugins
comparison src/alsa/alsa.c @ 1753:c730f0212456
Use a GStaticMutex instead of a GMutex to avoid crashing and resource conflicts.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Thu, 20 Sep 2007 10:36:56 -0500 |
parents | 67b5bf777a38 |
children | 1e4d147bdc2b |
comparison
equal
deleted
inserted
replaced
1751:dc83901850df | 1753:c730f0212456 |
---|---|
53 | 53 |
54 if (alsa_cfg.mixer_device) { | 54 if (alsa_cfg.mixer_device) { |
55 free(alsa_cfg.mixer_device); | 55 free(alsa_cfg.mixer_device); |
56 alsa_cfg.mixer_device = NULL; | 56 alsa_cfg.mixer_device = NULL; |
57 } | 57 } |
58 | |
59 /* release our mutex */ | |
60 g_mutex_free(alsa_mutex); | |
61 alsa_mutex = NULL; | |
62 } | 58 } |