From 2b256b932e8f9404a0f4eb01538525c09efff0cf Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 10 Oct 2013 00:06:30 +0530 Subject: 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. --- data/alsa/ucm/apq8064-tabla-snd-card/HiFi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'data/alsa') 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" } } -- cgit v1.2.3