diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 15:36:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-07-11 16:17:32 -0700 |
commit | 522d52b58f6a8c29efa915bb1b119f49212e89ee (patch) | |
tree | ceec0dad2ac6532e64a3348f9ae1cd6516601597 /recordmydesktop/src/rmd_capture_sound.c | |
parent | eb1a698e750cbb8c7503c93e291942986364aa31 (diff) |
*: more formatting cleanups
Nothing functionally changed
Diffstat (limited to 'recordmydesktop/src/rmd_capture_sound.c')
-rw-r--r-- | recordmydesktop/src/rmd_capture_sound.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_capture_sound.c b/recordmydesktop/src/rmd_capture_sound.c index 63c46f3..2719c60 100644 --- a/recordmydesktop/src/rmd_capture_sound.c +++ b/recordmydesktop/src/rmd_capture_sound.c @@ -55,11 +55,11 @@ void *rmdCaptureSound(ProgData *pdata) { if (pdata->paused) { #ifdef HAVE_LIBASOUND if (!pdata->hard_pause) { - snd_pcm_pause(pdata->sound_handle,1); + snd_pcm_pause(pdata->sound_handle, 1); pthread_mutex_lock(&pdata->pause_mutex); pthread_cond_wait(&pdata->pause_cond, &pdata->pause_mutex); pthread_mutex_unlock(&pdata->pause_mutex); - snd_pcm_pause(pdata->sound_handle,0); + snd_pcm_pause(pdata->sound_handle, 0); } else {//device doesn't support pause(is this the norm?mine doesn't) snd_pcm_close(pdata->sound_handle); pthread_mutex_lock(&pdata->pause_mutex); @@ -91,7 +91,7 @@ void *rmdCaptureSound(ProgData *pdata) { pdata->args.channels, pdata->args.frequency); if (pdata->sound_handle < 0) { - fprintf(stderr,"Couldn't reopen sound device. Exiting\n"); + fprintf(stderr, "Couldn't reopen sound device. Exiting\n"); pdata->running = FALSE; errno = 3; pthread_exit(&errno); |