aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-plug-multi.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/alsa/alsa-plug-multi.c')
-rw-r--r--plugins/alsa/alsa-plug-multi.c3
1 files changed, 1 insertions, 2 deletions
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;