diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-10-10 00:06:30 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-10-10 00:07:55 +0530 |
commit | 2b256b932e8f9404a0f4eb01538525c09efff0cf (patch) | |
tree | b2157310e3261714b5f1cbb9e61cb492bfa996bb /data/alsa | |
parent | ff11cc2b89b65a78328a2c1bccd02179c2bb5876 (diff) |
mako: Add a h/w volume control example for HiFi use case
This sets up the Speaker device for h/w volume control as an example.
This can be extended to other devices. For the Headphones device, we
would probably want to merge the HPHL and HPHR controls to provide a
single stereo control so things can just work.
Diffstat (limited to 'data/alsa')
-rw-r--r-- | data/alsa/ucm/apq8064-tabla-snd-card/HiFi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/alsa/ucm/apq8064-tabla-snd-card/HiFi b/data/alsa/ucm/apq8064-tabla-snd-card/HiFi index 4a10669..3611bd2 100644 --- a/data/alsa/ucm/apq8064-tabla-snd-card/HiFi +++ b/data/alsa/ucm/apq8064-tabla-snd-card/HiFi @@ -35,6 +35,8 @@ SectionVerb { CapturePCM "hw:apq8064tablasnd,0" PlaybackPCM "hw:apq8064tablasnd,0" + + PulseAudioSinkModargs "ignore_dB=yes" } } @@ -124,6 +126,9 @@ SectionDevice."Speaker" { cset "name='RX4 DSM MUX' CIC_OUT" cset "name='SLIM TX3 MUX' ZERO" + # Reset volume to default + cset "name='RX3 Digital Volume' 84" + # Re-enabled in EnableSequence ] @@ -132,6 +137,7 @@ SectionDevice."Speaker" { Value { PlaybackChannels "2" + PlaybackVolume "RX3 Digital" } } |