summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-plug-multi.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-05-18 13:31:36 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-05-18 13:31:36 +0200
commit7454d66bb47349418f8f65b8d7bec79039a2be32 (patch)
tree9816b7c9d213c890adfcde58646e50e6545ebb70 /plugins/alsa/alsa-plug-multi.c
parent3fd11a5eb799a391351334b3580c5582a065f780 (diff)
Implements volume ramping
Diffstat (limited to 'plugins/alsa/alsa-plug-multi.c')
-rw-r--r--plugins/alsa/alsa-plug-multi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/alsa/alsa-plug-multi.c b/plugins/alsa/alsa-plug-multi.c
index 0dd417d..c28508c 100644
--- a/plugins/alsa/alsa-plug-multi.c
+++ b/plugins/alsa/alsa-plug-multi.c
@@ -34,7 +34,7 @@ PUBLIC AlsaPcmInfoT* AlsaCreateMulti(CtlSourceT *source, const char *pcmUid, int
AlsaPcmInfoT* pcmSlaves=mixerHandle->backend;
if (!pcmSlaves) {
- AFB_ApiError(source->api, "AlsaCreateMulti: No Sound Card find [should register snd_cards first]");
+ AFB_ApiError(source->api, "AlsaCreateMulti: No Sound Card find [should Registry snd_cards first]");
goto OnErrorExit;
}
@@ -52,7 +52,7 @@ PUBLIC AlsaPcmInfoT* AlsaCreateMulti(CtlSourceT *source, const char *pcmUid, int
// loop on sound card to include into multi
for (int idx = 0; pcmSlaves[idx].uid != NULL; idx++) {
AlsaPcmInfoT* sndcard=&pcmSlaves[idx];
- AlsaPcmChannels *channels = sndcard->channels;
+ AlsaPcmChannelT *channels = sndcard->channels;
for (channelIdx=0; channels[channelIdx].uid != NULL; channelIdx++) {
char idxS[4]; // 999 channel should be more than enough