Commit 0a8e5d97 by kimvde Committed by Ian Baker

Add SpeedChangingAudioProcessorTest

PiperOrigin-RevId: 425845144
parent b911e2ee
...@@ -68,9 +68,8 @@ import java.nio.ByteBuffer; ...@@ -68,9 +68,8 @@ import java.nio.ByteBuffer;
if (isUsingSonic()) { if (isUsingSonic()) {
sonicAudioProcessor.setSpeed(newSpeed); sonicAudioProcessor.setSpeed(newSpeed);
sonicAudioProcessor.setPitch(newSpeed); sonicAudioProcessor.setPitch(newSpeed);
sonicAudioProcessor.flush();
endOfStreamQueuedToSonic = false;
} }
flush();
} }
int inputBufferLimit = inputBuffer.limit(); int inputBufferLimit = inputBuffer.limit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment