summaryrefslogtreecommitdiff
path: root/modules/opensles/player.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-05 22:50:25 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-05 22:50:25 +0200
commit65bd41ad6e1439accf6a247dc1f17ea3f796c59e (patch)
tree21c03ef4ba0e76df85c868c8bc7def9b5d8afbfe /modules/opensles/player.c
parent44ba7d6fbdd455772537aae7d26d7c5e28f10a13 (diff)
opensles: add extra debug
Diffstat (limited to 'modules/opensles/player.c')
-rw-r--r--modules/opensles/player.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/opensles/player.c b/modules/opensles/player.c
index 755ae4f..e007464 100644
--- a/modules/opensles/player.c
+++ b/modules/opensles/player.c
@@ -150,6 +150,9 @@ int opensles_player_alloc(struct auplay_st **stp, const struct auplay *ap,
if (!stp || !ap || !prm || !wh)
return EINVAL;
+ debug("opensles: opening player %uHz, %uchannels\n",
+ prm->srate, prm->ch);
+
st = mem_zalloc(sizeof(*st), auplay_destructor);
if (!st)
return ENOMEM;