aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-core-ctl.c
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-09-07 16:13:55 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-09-07 16:13:55 +0200
commit9c0aa9f3073a37e961a90a973b8d007685c9e184 (patch)
tree7b4f9778a75958cff3c04b71af303992505629b2 /plugins/alsa/alsa-core-ctl.c
parent168e9288f1ff147d9aaa6064c3cc0308fd214a6a (diff)
fixed crash upon misconfiguration of capture/playback devices
The null pcmplug case was not correctly handled in various places. Also fixed some typos in the log Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'plugins/alsa/alsa-core-ctl.c')
-rw-r--r--plugins/alsa/alsa-core-ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-core-ctl.c b/plugins/alsa/alsa-core-ctl.c
index 01e560f..7a0c476 100644
--- a/plugins/alsa/alsa-core-ctl.c
+++ b/plugins/alsa/alsa-core-ctl.c
@@ -639,7 +639,7 @@ OnErrorExit:
PUBLIC int AlsaCtlRegister(SoftMixerT *mixer, AlsaSndCtlT *sndcard, AlsaPcmCtlT *pcmdev, RegistryNumidT type, int numid) {
int index;
- AFB_ApiInfo(mixer->api,"%s: %d!\n", __func__, numid);
+ AFB_ApiInfo(mixer->api,"%s: registered ID %d.", __func__, numid);
for (index = 0; index < sndcard->rcount; index++) {
if (!sndcard->registry[index]) break;