aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-08-13 05:01:46 -0700
committerSteve Kondik <steve@cyngn.com>2015-08-13 05:05:19 -0700
commit009cd97eaa0814e047a650b0a9da4fe88ffacd12 (patch)
tree2e2f24b2fde7ea428d9043d1fbad20f23ddd051a
parentee54a23b5cfe96d7d0bb5b09b57aad0308a50a05 (diff)
msm8916: Fix offload flags
* Do not use PCM offload for 16-bit tracks. This hardware does not support small buffers well and AV clips are wildly out of sync. There is no real downside to this on 8916- we only need it for 24-bit tracks. * Update the offload buffer size to unbreak gapless playback (upstream Qualcomm change). Change-Id: Idb09f31767824407394164d42bac7f5f270b2548
-rw-r--r--system.prop4
1 files changed, 2 insertions, 2 deletions
diff --git a/system.prop b/system.prop
index 4653fb2..dd7cc28 100644
--- a/system.prop
+++ b/system.prop
@@ -2,9 +2,9 @@
tunnel.audio.encode=false
av.offload.enable=true
av.streaming.offload.enable=true
-audio.offload.buffer.size.kb=240
+audio.offload.buffer.size.kb=64
audio.offload.gapless.enabled=true
-audio.offload.pcm.16bit.enable=true
+audio.offload.pcm.16bit.enable=false
audio.offload.pcm.24bit.enable=true
use.voice.path.for.pcm.voip=true
vidc.enc.narrow.searchrange=1