From 0eb15da6365910ba3f290e3254719fd412ae0155 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 13 May 2018 02:12:25 +0200 Subject: First version muxing multiple audio streams. --- plugins/alsa/alsa-plug-multi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/alsa/alsa-plug-multi.c') diff --git a/plugins/alsa/alsa-plug-multi.c b/plugins/alsa/alsa-plug-multi.c index d6ef46e..6deca96 100644 --- a/plugins/alsa/alsa-plug-multi.c +++ b/plugins/alsa/alsa-plug-multi.c @@ -57,7 +57,7 @@ PUBLIC AlsaPcmInfoT* AlsaCreateMulti(CtlSourceT *source, const char *pcmUid) { snprintf (idxS, sizeof(idxS), "%d", pcmPlug->ccount++); // multi does not support to name channels error += snd_config_make_compound(&bindingConfig,idxS, 0); - error += snd_config_imake_string(&elemConfig, "slave", sndcard->cardid); + error += snd_config_imake_string(&elemConfig, "slave", sndcard->uid); error += snd_config_add(bindingConfig, elemConfig); error += snd_config_imake_integer(&elemConfig,"channel", channelIdx); error += snd_config_add(bindingConfig, elemConfig); @@ -94,7 +94,6 @@ PUBLIC AlsaPcmInfoT* AlsaCreateMulti(CtlSourceT *source, const char *pcmUid) { // Debug config & pcm //AlsaDumpCtlConfig(source, "plug-multi", multiConfig, 1); - //AlsaDumpPcmInfo(source, pcmPlug->handle, "pcmPlug->handle"); AFB_ApiNotice(source->api, "AlsaCreateMulti: %s done\n", pcmPlug->cardid); return pcmPlug; -- cgit 1.2.3-korg