summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2013-08-20 18:51:19 (GMT)
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-08-20 18:51:19 (GMT)
commitb4560dd4b92d8bd46132b7262025668dec7794bf (patch)
treecc90a44df8c9cdc7d1d40e43ed506754d4c93cc3
parentfe6aaf3e82305127ad1528ada1f48f87b7643b33 (diff)
downloadpulseaudio-android-b4560dd4b92d8bd46132b7262025668dec7794bf.tar.gz
pulseaudio-android-b4560dd4b92d8bd46132b7262025668dec7794bf.tar.xz
mako: Control csd-daemon life cycle in UCM
This starts/stops csd-daemon at VoiceCall verb enable/disable time.
-rw-r--r--data/alsa/ucm/apq8064-tabla-snd-card/VoiceCall6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/alsa/ucm/apq8064-tabla-snd-card/VoiceCall b/data/alsa/ucm/apq8064-tabla-snd-card/VoiceCall
index fd7a98d..4312859 100644
--- a/data/alsa/ucm/apq8064-tabla-snd-card/VoiceCall
+++ b/data/alsa/ucm/apq8064-tabla-snd-card/VoiceCall
@@ -2,6 +2,9 @@ SectionVerb {
EnableSequence [
cdev "hw:apq8064tablasnd"
+ # Start csd-daemon
+ exec "/system/bin/csd-daemon"
+
# Enable CPU -> CODEC path
cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
cset "name='MultiMedia1 Mixer SLIM_4_TX' 1"
@@ -45,6 +48,9 @@ SectionVerb {
cset "name='Voice Stub Tx Mixer STUB_1_TX_HL' 0"
exec "/system/bin/csd-client stop-voice"
+
+ # Kill csd-daemon
+ exec "/system/bin/csd-client quit"
]
Value {