Searched refs:audioFormat (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 232 …public void onBeginSynthesis(String utteranceId, int sampleRateInHz, int audioFormat, int channelC… in onBeginSynthesis() argument 235 Assert.assertTrue(audioFormat == android.media.AudioFormat.ENCODING_PCM_8BIT in onBeginSynthesis() 236 || audioFormat == android.media.AudioFormat.ENCODING_PCM_16BIT in onBeginSynthesis() 237 || audioFormat == android.media.AudioFormat.ENCODING_PCM_FLOAT); in onBeginSynthesis()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NonBlockingAudioTrack.java | 88 AudioFormat audioFormat = (new AudioFormat.Builder()) in NonBlockingAudioTrack() local 93 mAudioTrack = new AudioTrack(audioAttributes, audioFormat, bufferSize, in NonBlockingAudioTrack()
|
D | MediaSyncTest.java | 704 int audioFormat = AudioFormat.ENCODING_PCM_16BIT; in getAudioTrack() local 708 audioFormat); in getAudioTrack() 711 * AudioFormat.getBytesPerSample(audioFormat); in getAudioTrack() 719 audioFormat, in getAudioTrack()
|
D | AudioRecordTest.java | 703 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument 709 audioFormat, bufferSizeInBytes, isChannelIndex); in createAudioRecord() 714 .setEncoding(audioFormat) in createAudioRecord() 721 audioFormat, bufferSizeInBytes); in createAudioRecord() 730 assertEquals(audioFormat, format.getEncoding()); in createAudioRecord() 733 format.getChannelCount() * AudioFormat.getBytesPerSample(audioFormat); in createAudioRecord()
|
D | AudioTrackTest.java | 2351 int audioFormat, int bufferSizeInBytes, int mode) throws IllegalArgumentException { in MockAudioTrack() argument 2352 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
|