summaryrefslogtreecommitdiff
path: root/modules/alsa/alsa_src.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/alsa/alsa_src.c')
-rw-r--r--modules/alsa/alsa_src.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/alsa/alsa_src.c b/modules/alsa/alsa_src.c
index 0a5d548..0f611ea 100644
--- a/modules/alsa/alsa_src.c
+++ b/modules/alsa/alsa_src.c
@@ -36,6 +36,7 @@ static void ausrc_destructor(void *arg)
/* Wait for termination of other thread */
if (st->run) {
+ debug("alsa: stopping recording thread (%s)\n", st->device);
st->run = false;
(void)pthread_join(st->thread, NULL);
}
@@ -142,6 +143,8 @@ int alsa_src_alloc(struct ausrc_st **stp, const struct ausrc *as,
goto out;
}
+ debug("alsa: recording started (%s)\n", st->device);
+
out:
if (err)
mem_deref(st);