commit | d79072e9dff59f767cce2cda1caab80ce5a0815b | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Wed Jan 06 08:41:20 2016 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Mon Jan 25 15:34:04 2016 -0800 |
tree | cab9cab36ddf4bb61675c4508d923b283fd3edd6 | |
parent | a7b723715bab4ddf6db364c825135a9bc003c7c0 [diff] [blame] |
Remove TimedAudioTrack and associated code Bug: 8278435 Change-Id: I095c1a4888e645e14d93b0b15fbef4524a831ca1
diff --git a/services/audioflinger/AudioResamplerSinc.cpp b/services/audioflinger/AudioResamplerSinc.cpp index 41730ee..e93c064 100644 --- a/services/audioflinger/AudioResamplerSinc.cpp +++ b/services/audioflinger/AudioResamplerSinc.cpp
@@ -301,8 +301,7 @@ // buffer is empty, fetch a new one while (mBuffer.frameCount == 0) { mBuffer.frameCount = inFrameCount; - provider->getNextBuffer(&mBuffer, - calculateOutputPTS(outputIndex / 2)); + provider->getNextBuffer(&mBuffer); if (mBuffer.raw == NULL) { goto resample_exit; }