diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2018-05-13 02:12:25 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2018-05-13 02:12:25 +0200 |
commit | 0eb15da6365910ba3f290e3254719fd412ae0155 (patch) | |
tree | 5dc1f6027573fe21b3519b2dbafd2b45bb151c73 /plugins/alsa/alsa-plug-multi.c | |
parent | ca0965cae3ad129e495fd4615ebeb7c11b413a2b (diff) |
First version muxing multiple audio streams.
Diffstat (limited to 'plugins/alsa/alsa-plug-multi.c')
-rw-r--r-- | plugins/alsa/alsa-plug-multi.c | 3 |
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; |