From 1477e92867a950016579a644e74f803ed1d90cbb Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Tue, 1 May 2012 10:59:31 -0700 Subject: Enable fast track for SoundPool Change-Id: Ia80b3a7738e4c5dbe2bd5b0f55f0ca49943e2f64 --- media/libmedia/SoundPool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/libmedia/SoundPool.cpp b/media/libmedia/SoundPool.cpp index 4b318ed..abc8899 100644 --- a/media/libmedia/SoundPool.cpp +++ b/media/libmedia/SoundPool.cpp @@ -611,7 +611,7 @@ void SoundChannel::play(const sp& sample, int nextChannelID, float leftV channels, sample->getIMemory(), AUDIO_OUTPUT_FLAG_NONE, callback, userData); #else newTrack = new AudioTrack(streamType, sampleRate, sample->format(), - channels, frameCount, AUDIO_OUTPUT_FLAG_NONE, callback, userData, + channels, frameCount, AUDIO_OUTPUT_FLAG_FAST, callback, userData, bufferFrames); #endif oldTrack = mAudioTrack; -- cgit v1.1