summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-10-22 17:09:27 -0700
committerGlenn Kasten <gkasten@google.com>2012-10-22 17:09:27 -0700
commitc4640c9eef850bb1c754bd6b477f1cc8350c6081 (patch)
tree56b5075d8487bf9e99e22b0234ae4b2bf6399529 /services
parente384d75b95b9db30d64a18ada93e070cf07de306 (diff)
downloadframeworks_av-c4640c9eef850bb1c754bd6b477f1cc8350c6081.zip
frameworks_av-c4640c9eef850bb1c754bd6b477f1cc8350c6081.tar.gz
frameworks_av-c4640c9eef850bb1c754bd6b477f1cc8350c6081.tar.bz2
Increase allowed number of VHQ resamplers to 3
Bug: 7378660 Change-Id: I69e33ca2eb4bb9bd38e2c63df62cd1130d68baf6
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioResampler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index 96293e3..ffea9b9 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -130,7 +130,7 @@ uint32_t AudioResampler::qualityMHz(src_quality quality)
}
}
-static const uint32_t maxMHz = 75; // an arbitrary number that permits 2 VHQ, should be tunable
+static const uint32_t maxMHz = 130; // an arbitrary number that permits 3 VHQ, should be tunable
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
static uint32_t currentMHz = 0;