Mercurial > audlegacy-plugins
comparison src/alsa/alsa.h @ 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 | 63feceeb3799 |
children | 0f2ac612f318 |
comparison
equal
deleted
inserted
replaced
1751:dc83901850df | 1753:c730f0212456 |
---|---|
79 int alsa_open(AFormat fmt, int rate, int nch); | 79 int alsa_open(AFormat fmt, int rate, int nch); |
80 int alsa_get_output_time(void); | 80 int alsa_get_output_time(void); |
81 int alsa_get_written_time(void); | 81 int alsa_get_written_time(void); |
82 void alsa_tell(AFormat * fmt, gint * rate, gint * nch); | 82 void alsa_tell(AFormat * fmt, gint * rate, gint * nch); |
83 | 83 |
84 extern GMutex *alsa_mutex; | 84 extern GStaticMutex alsa_mutex; |
85 | 85 |
86 #endif | 86 #endif |