the status handle should be static

This commit is contained in:
William Hubbs 2009-08-21 13:03:02 -05:00
commit e4e3f0979e

2
alsa.c
View file

@ -38,7 +38,7 @@ static pthread_mutex_t audio_mutex = PTHREAD_MUTEX_INITIALIZER;
static snd_pcm_t *handle;
static snd_pcm_hw_params_t *params;
snd_pcm_status_t *status;
static snd_pcm_status_t *status;
static int dir = 0;
static void lock_audio_mutex(void)