diff options
Diffstat (limited to 'recordmydesktop')
-rw-r--r-- | recordmydesktop/src/capture_sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/capture_sound.c b/recordmydesktop/src/capture_sound.c index 40afa0e..945f322 100644 --- a/recordmydesktop/src/capture_sound.c +++ b/recordmydesktop/src/capture_sound.c @@ -31,7 +31,7 @@ void *CaptureSound(ProgData *pdata){ int frames=pdata->periodsize; int framesize=((snd_pcm_format_width(SND_PCM_FORMAT_S16_LE))/8)*pdata->args.channels; - pthread_mutex_t pmut,tmut; + pthread_mutex_t pmut; pthread_mutex_init(&pmut,NULL); //start capturing only after first frame is taken |