From 9c0aa9f3073a37e961a90a973b8d007685c9e184 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Fri, 7 Sep 2018 16:13:55 +0200 Subject: 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 --- plugins/alsa/alsa-core-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/alsa/alsa-core-ctl.c') 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; -- cgit 1.2.3-korg