summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.cpp
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
commitf1b2a9b65a904b10f91482cc0389bea1f66a891f (patch)
tree3319adf1a9f46b75405d42d996fee1209eb64fbb /services/audioflinger/AudioResampler.cpp
parentb833a1bad02b06182d4a2406fbcc1c7dac7c2663 (diff)
downloadframeworks_av-f1b2a9b65a904b10f91482cc0389bea1f66a891f.zip
frameworks_av-f1b2a9b65a904b10f91482cc0389bea1f66a891f.tar.gz
frameworks_av-f1b2a9b65a904b10f91482cc0389bea1f66a891f.tar.bz2
Increase allowed number of VHQ resamplers to 3
Bug: 7378660 Change-Id: I69e33ca2eb4bb9bd38e2c63df62cd1130d68baf6
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
-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;