Replace SpeechSynthesis.getBufferSizeInBytes with a constant in the C++ source, specified in the correct units (milliseconds).

This commit is contained in:
Reece H. Dunn
2015-10-12 19:02:16 +01:00
parent 633b7a5673
commit 3b6c327756
3 changed files with 6 additions and 10 deletions
@@ -163,7 +163,6 @@ public class SpeechSynthesisTest extends TextToSpeechTestCase
assertThat(synth.getSampleRate(), is(22050));
assertThat(synth.getChannelCount(), is(1));
assertThat(synth.getAudioFormat(), is(AudioFormat.ENCODING_PCM_16BIT));
assertThat(synth.getBufferSizeInBytes(), is(22050));
}
public void testJavaToIanaLanguageCode()