From 28697c059df1f6b276a490123611c439996085c8 Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 13 Sep 2008 12:37:57 +0000 Subject: include/recordmydesktop.h: Remove the globals Paused, Aborted and PauseStateChanged. include/rmdtypes.h: Add the previous globals as members in ProgData. src/rmd_jack.c src/get_frame.c src/rmd_timer.c src/rmd_rescue.c src/cache_audio.c src/cache_frame.c src/capture_sound.c src/initialize_data.c src/recordmydesktop.c src/register_callbacks.c src/encode_image_buffer.c src/encode_sound_buffer.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@529 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/encode_sound_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recordmydesktop/src/encode_sound_buffer.c') diff --git a/recordmydesktop/src/encode_sound_buffer.c b/recordmydesktop/src/encode_sound_buffer.c index c58d926..47b8211 100644 --- a/recordmydesktop/src/encode_sound_buffer.c +++ b/recordmydesktop/src/encode_sound_buffer.c @@ -42,7 +42,7 @@ void *EncodeSoundBuffer(ProgData *pdata){ int count=0,i,j; SndBuffer *buff=NULL; - if(Paused){ + if (pdata->paused) { pthread_mutex_lock(&pause_mutex); pthread_cond_wait(&pdata->pause_cond,&pause_mutex); pthread_mutex_unlock(&pause_mutex); -- cgit v1.2.3