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