summaryrefslogtreecommitdiff
path: root/src/rmd_capture_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_capture_audio.c')
-rw-r--r--src/rmd_capture_audio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rmd_capture_audio.c b/src/rmd_capture_audio.c
index 1d5b596..f939350 100644
--- a/src/rmd_capture_audio.c
+++ b/src/rmd_capture_audio.c
@@ -42,7 +42,8 @@
#include <time.h>
-void *rmdCaptureAudio(ProgData *pdata) {
+void *rmdCaptureAudio(ProgData *pdata)
+{
#ifdef HAVE_LIBASOUND
int frames = pdata->periodsize;
@@ -160,7 +161,7 @@ void *rmdCaptureAudio(ProgData *pdata) {
pthread_mutex_lock(&pdata->sound_buffer_mutex);
tmp = pdata->sound_buffer;
if (!tmp)
- pdata->sound_buffer = newbuf;
+ pdata->sound_buffer = newbuf;
else {
while (tmp->next != NULL)
tmp = tmp->next;
© All Rights Reserved