Searched refs:sampleRateInHz (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecord_BufferSizeTest.java | 67 private void record(int sampleRateInHz) { in record() argument 68 int bufferSize = AudioRecord.getMinBufferSize(sampleRateInHz, CHANNEL_CONFIG, AUDIO_FORMAT); in record() 71 createAudioRecord(sampleRateInHz, bufferSize); in record() 91 private void createAudioRecord(final int sampleRateInHz, final int bufferSize) { in createAudioRecord() argument 92 mAudioRecord = new AudioRecord(AudioSource.DEFAULT, sampleRateInHz, in createAudioRecord()
|
D | MediaSyncTest.java | 701 int sampleRateInHz = mediaFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in getAudioTrack() local 706 sampleRateInHz, in getAudioTrack() 709 final int frameCount = APPLICATION_AUDIO_PERIOD_MS * sampleRateInHz / 1000; in getAudioTrack() 717 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 | 2350 public MockAudioTrack(int streamType, int sampleRateInHz, int channelConfig, in MockAudioTrack() argument 2352 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
|
/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 234 Assert.assertTrue(sampleRateInHz > 0); in onBeginSynthesis()
|