diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-11-07 16:52:38 +0900 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-11-07 11:18:33 +0100 |
commit | 0e37ab93b7c611d4c1f94c4bfbee7acf312c9aec (patch) | |
tree | a2b90f44784a2a012d25ba8ccb5ae09a6c9c8012 /plugins/alsa/alsa-utils-dump.c | |
parent | ca638334f31f6cafab1bd1eb603710256eb9bc87 (diff) |
Tweaking debug prints
Replace some 'printf' by application framework debug functions.
Improve 'ALSA_PCM_UID' macro.
Correct minor errors in debug prints.
Change-Id: I49899fd904d42b5b3bec46017eb319ed7d321dc5
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-utils-dump.c')
-rw-r--r-- | plugins/alsa/alsa-utils-dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-utils-dump.c b/plugins/alsa/alsa-utils-dump.c index 34ed568..b6c011d 100644 --- a/plugins/alsa/alsa-utils-dump.c +++ b/plugins/alsa/alsa-utils-dump.c @@ -45,7 +45,7 @@ PUBLIC char *AlsaDumpPcmUid(snd_pcm_t *pcmHandle, char *buffer, size_t len) { int pcmCard = snd_pcm_info_get_card(pcmInfo); const char *pcmName = snd_pcm_info_get_name(pcmInfo); - snprintf(buffer, len, "hw:%i [%s]", pcmCard, pcmName); + snprintf(buffer, len, "hw:%i [%s](%i,%i)", pcmCard, pcmName, snd_pcm_info_get_device(pcmInfo), snd_pcm_info_get_subdevice(pcmInfo)); return buffer; OnErrorExit: |