summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2013-10-09 18:39:03 (GMT)
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-10-09 18:39:03 (GMT)
commit05a3b10e1665ace4cc9ab49d09ed68fce3cf0fbb (patch)
treeccf9f33b6f33d8b78a3602860dcc8494b0649896
parent2b256b932e8f9404a0f4eb01538525c09efff0cf (diff)
downloadpulseaudio-android-master.tar.gz
pulseaudio-android-master.tar.xz
mako: Add a low-latency path for voice streams in the HiFi caseHEADmaster
This adds a low-latency modifier that can be used for voice and potentially other low-latency streams.
-rw-r--r--data/alsa/ucm/apq8064-tabla-snd-card/HiFi30
1 files changed, 30 insertions, 0 deletions
diff --git a/data/alsa/ucm/apq8064-tabla-snd-card/HiFi b/data/alsa/ucm/apq8064-tabla-snd-card/HiFi
index 3611bd2..3eb87ae 100644
--- a/data/alsa/ucm/apq8064-tabla-snd-card/HiFi
+++ b/data/alsa/ucm/apq8064-tabla-snd-card/HiFi
@@ -276,3 +276,33 @@ SectionDevice."HandsetMic" {
CaptureChannels "1"
}
}
+
+SectionModifier."PlayVoice" {
+ Comment "Low latency path for voice"
+
+ SupportedDevice [
+ "Earpiece"
+ "Headphones"
+ "Speaker"
+ ]
+
+ EnableSequence [
+ cdev "hw:apq8064tablasnd"
+
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia5' 1"
+
+ ]
+
+ DisableSequence [
+ cdev "hw:apq8064tablasnd"
+
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia5' 0"
+ ]
+
+ Value {
+ CapturePCM "hw:apq8064tablasnd,14"
+ PlaybackPCM "hw:apq8064tablasnd,14"
+
+ PulseAudioSinkModargs "ignore_dB=yes tsched_buffer_size=1920"
+ }
+}