aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--intel-minnow/Intel-HAL-minnow.c3
-rw-r--r--intel-pc/Intel-HAL-pc.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/intel-minnow/Intel-HAL-minnow.c b/intel-minnow/Intel-HAL-minnow.c
index 48a2cdb..00088fb 100644
--- a/intel-minnow/Intel-HAL-minnow.c
+++ b/intel-minnow/Intel-HAL-minnow.c
@@ -127,8 +127,7 @@ STATIC halVolRampT volRampFallback= {
// 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="Video_Volume", .value=100 } },
- { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=100 } },
- { .tag=PCM_Playback_Switch, .ctl={.name="IEC958 Playback Switch" } },
+ { .tag=PCM_Playback_Switch, .ctl={.name="IEC958 Playback Switch", .value=1 } },
// Sound card does not have hardware volume ramping
{ .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="Master Playback Volume Ramp",
diff --git a/intel-pc/Intel-HAL-pc.c b/intel-pc/Intel-HAL-pc.c
index 39de13b..6350580 100644
--- a/intel-pc/Intel-HAL-pc.c
+++ b/intel-pc/Intel-HAL-pc.c
@@ -128,7 +128,7 @@ STATIC halVolRampT volRampFallback= {
STATIC alsaHalMapT alsaHalMap[]= {
{ .tag=Master_Playback_Volume, .ctl={.name="Master Playback Volume", .value=100 } },
{ .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=100 } },
- { .tag=PCM_Playback_Switch , .ctl={.name="Master Playback Switch" } },
+ { .tag=PCM_Playback_Switch , .ctl={.name="Master Playback Switch", .value=1 } },
{ .tag=Capture_Volume , .ctl={.name="Capture Volume" } },
// Sound card does not have hardware volume ramping