Home
last modified time | relevance | path

Searched refs:mSampleRate (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java43 private int mSampleRate; field in NonBlockingAudioTrack
97 mSampleRate = sampleRate; in NonBlockingAudioTrack()
103 return (numFramesPlayed * 1000000L) / mSampleRate; in getAudioTimeUs()
DAudioTrackSurroundTest.java284 private final int mSampleRate; field in AudioTrackSurroundTest.SamplePlayerBase
293 mSampleRate = sampleRate; in SamplePlayerBase()
365 mSampleRate, mEncoding)); in playAndMeasureRate()
367 mTrack = createAudioTrack(mSampleRate, mEncoding, mChannelConfig); in playAndMeasureRate()
405 mSampleRate, estimatedRate, mSampleRate * MAX_RATE_TOLERANCE_FRACTION); in playAndMeasureRate()
DAudioRecordTest.java1186 mSampleRate = sampleRate; in start()
1215 return (int)(delta * mSampleRate / 1000); in getPosition()
1220 private int mSampleRate; field in AudioRecordTest.MockOnRecordPositionUpdateListener