aboutsummaryrefslogtreecommitdiffstats
path: root/USB-Device/UsbDeviceHAL.c
diff options
context:
space:
mode:
Diffstat (limited to 'USB-Device/UsbDeviceHAL.c')
-rw-r--r--USB-Device/UsbDeviceHAL.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/USB-Device/UsbDeviceHAL.c b/USB-Device/UsbDeviceHAL.c
index cbfeca3..1004055 100644
--- a/USB-Device/UsbDeviceHAL.c
+++ b/USB-Device/UsbDeviceHAL.c
@@ -125,6 +125,11 @@ 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="PCM Playback Volume", .value=80 }},
+ { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=80 }},
+ { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch", .value=01 }},
+ { .tag=Capture_Volume , .ctl={.name="Mic Capture Volume", .value=0 }},
// Sound card does not have hardware volume ramping
{ .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="Master Playback Volume Ramp",