Searched refs:sampleRateInHz (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecord_BufferSizeTest.java | 68 private void record(int sampleRateInHz) { in record() argument 69 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); in record() 72 createAudioRecord(sampleRateInHz, bufferSize); in record() 92 private void createAudioRecord(final int sampleRateInHz, final int bufferSize) { in createAudioRecord() argument 93 mAudioRecord = new AudioRecord(AudioSource.DEFAULT, sampleRateInHz, in createAudioRecord()
|
D | MediaSyncTest.java | 702 int sampleRateInHz = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in getAudioTrack() local 707 sampleRateInHz, in getAudioTrack() 710 final int frameCount = APPLICATION_AUDIO_PERIOD_MS * sampleRateInHz / 1000; in getAudioTrack() 718 sampleRateInHz, in getAudioTrack()
|
D | AudioRecordTest.java | 702 int audioSource, int sampleRateInHz, in createAudioRecord() argument 708 audioSource, sampleRateInHz, channelConfig, in createAudioRecord() 715 .setSampleRate(sampleRateInHz) in createAudioRecord() 720 record = new AudioRecord(audioSource, sampleRateInHz, channelConfig, in createAudioRecord() 731 assertEquals(sampleRateInHz, format.getSampleRate()); in createAudioRecord()
|
D | AudioTrackTest.java | 2387 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument 2389 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 253 …public void onBeginSynthesis(String utteranceId, int sampleRateInHz, int audioFormat, int channelC… in onBeginSynthesis() argument 255 Assert.assertTrue(sampleRateInHz > 0); in onBeginSynthesis()
|