summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2013-10-09 18:36:30 (GMT)
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-10-09 18:37:55 (GMT)
commit2b256b932e8f9404a0f4eb01538525c09efff0cf (patch)
treeb2157310e3261714b5f1cbb9e61cb492bfa996bb
parentff11cc2b89b65a78328a2c1bccd02179c2bb5876 (diff)
downloadpulseaudio-android-2b256b932e8f9404a0f4eb01538525c09efff0cf.tar.gz
pulseaudio-android-2b256b932e8f9404a0f4eb01538525c09efff0cf.tar.xz
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.
-rw-r--r--data/alsa/ucm/apq8064-tabla-snd-card/HiFi6
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"
}
}