aboutsummaryrefslogtreecommitdiffstats
path: root/HAL-afb
diff options
context:
space:
mode:
Diffstat (limited to 'HAL-afb')
-rw-r--r--HAL-afb/HDA-intel/IntelHdaHAL.c2
-rw-r--r--HAL-afb/Jabra-Solemate/JabraUsbHAL.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/HAL-afb/HDA-intel/IntelHdaHAL.c b/HAL-afb/HDA-intel/IntelHdaHAL.c
index 4f79f60..d41b6ba 100644
--- a/HAL-afb/HDA-intel/IntelHdaHAL.c
+++ b/HAL-afb/HDA-intel/IntelHdaHAL.c
@@ -65,7 +65,7 @@ STATIC halVolRampT volRampEmergency= {
STATIC alsaHalMapT alsaHalMap[]= {
{ .tag=Master_Playback_Volume, . ctl={.name="PCM Playback Volume", .value=50 } },
{ .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=50 } },
- { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch" } },
+ { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch", .value=01 } },
{ .tag=Capture_Volume , .ctl={.name="Mic Capture Volume" } },
// Sound card does not have hardware volume ramping
diff --git a/HAL-afb/Jabra-Solemate/JabraUsbHAL.c b/HAL-afb/Jabra-Solemate/JabraUsbHAL.c
index d3ddcfc..a9c5c63 100644
--- a/HAL-afb/Jabra-Solemate/JabraUsbHAL.c
+++ b/HAL-afb/Jabra-Solemate/JabraUsbHAL.c
@@ -63,10 +63,10 @@ STATIC halVolRampT volRampEmergency= {
// Map HAL hight sndctl with Alsa numid and optionally with a custom callback for non Alsa supported functionalities.
STATIC alsaHalMapT alsaHalMap[]= {
- { .tag=Master_Playback_Volume, . ctl={.name="PCM Playback Volume", .value=12 } },
- { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=12 } },
- { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch" } },
- { .tag=Capture_Volume , .ctl={.name="Mic Capture Volume" } },
+ { .tag=Master_Playback_Volume, . ctl={.name="PCM Playback Volume", .value=12 }},
+ { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=12 }},
+ { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch", .value=01 }},
+ { .tag=Capture_Volume , .ctl={.name="Mic Capture Volume" }},
// Sound card does not have hardware volume ramping
{ .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="ramp volume linearly according to current ramp setting",