From f0b2ba01e43a831900ff27f9e3a481b177be647f Mon Sep 17 00:00:00 2001 From: enselic Date: Sat, 13 Sep 2008 12:52:30 +0000 Subject: include/rmdtypes.h: Make ProgData::running, paused, aborted and pause_state_changed booleans. src/rmd_jack.c src/rmd_timer.c src/rmd_rescue.c src/encode_cache.c src/capture_sound.c src/initialize_data.c src/register_callbacks.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@530 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/include/rmdtypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recordmydesktop/include') diff --git a/recordmydesktop/include/rmdtypes.h b/recordmydesktop/include/rmdtypes.h index 776f80d..9225e6f 100644 --- a/recordmydesktop/include/rmdtypes.h +++ b/recordmydesktop/include/rmdtypes.h @@ -343,10 +343,10 @@ struct _ProgData { sound_framesize; //size of each sound frame /** Progam state vars */ - int running; //1 while the program is capturing/paused/encoding - int paused; //1 while the program is paused - int aborted; //1 if we should abort - int pause_state_changed;//1 if pause state changed + boolean running; //1 while the program is capturing/paused/encoding + boolean paused; //1 while the program is paused + boolean aborted; //1 if we should abort + boolean pause_state_changed; //1 if pause state changed #ifdef HAVE_LIBASOUND snd_pcm_t *sound_handle; -- cgit v1.2.3