Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/megaaudio/common/
DStreamBase.h40 mSampleRate(0), in StreamBase()
100 int32_t mSampleRate; variable
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.h53 mSampleRate = sampleRate; in setSampleRate()
121 float mSampleRate = 48000; // This seems likely, but can be changed variable
DOboePlayer.cpp78 mSampleRate = sampleRate; in setupStream()
84 builder.setSampleRate(mSampleRate); in setupStream()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DStreamBase.java37 protected int mSampleRate; field in StreamBase
49 public int getSampleRate() { return mSampleRate; } in getSampleRate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAnalyzerThread.java49 private volatile int mSampleRate = 0; field in NativeAnalyzerThread
106 public int getSampleRate() { return mSampleRate; } in getSampleRate()
138 mSampleRate = 0;
182 mSampleRate = getSampleRate(audioContext);
DAudioInColdStartLatencyActivity.java117 mSampleRate = audioSystemParams.getSystemSampleRate(); in startAudioTest()
131 mRecorder.setupStream(NUM_CHANNELS, mSampleRate, mNumBufferFrames); in startAudioTest()
188 = (long)((1000000000.0 * (double) mNumBufferFrames) / (double) mSampleRate); in onDataReady()
DAudioOutColdStartLatencyActivity.java106 = msToNanos((1000.0 * (double)timestamp.framePosition) / (double) mSampleRate); in calcColdStartLatency()
169 mSampleRate = audioSystemParams.getSystemSampleRate(); in startAudioTest()
180 mPlayer.setupStream(NUM_CHANNELS, mSampleRate, mNumBufferFrames); in startAudioTest()
DAudioColdStartBaseActivity.java54 protected int mSampleRate; field in AudioColdStartBaseActivity
99 mAttributesTxt.setText("" + mSampleRate + " Hz " + mNumBufferFrames + " Frames"); in showAttributes()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java39 protected float mSampleRate = 48000; // This seems likely, but can be changed field in WaveTableSource
59 mFN = mSampleRate / (float)mNumWaveTblSamples; in calcFN()
82 mSampleRate = sampleRate; in setSampleRate()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DOboeRecorder.java56 mSampleRate = sampleRate; in setupStream()
65 mSampleRate = 0; in teardownStream()
DJavaRecorder.java100 mSampleRate = sampleRate; in setupStream()
109 .setSampleRate(mSampleRate) in setupStream()
154 mSampleRate = 0; in teardownStream()
/cts/tests/tests/media/src/android/media/cts/
DNonBlockingAudioTrack.java44 private int mSampleRate; field in NonBlockingAudioTrack
98 mSampleRate = sampleRate; in NonBlockingAudioTrack()
104 return (numFramesPlayed * 1000000L) / mSampleRate; in getAudioTimeUs()
DAudioTrackSurroundTest.java333 private final int mSampleRate; field in AudioTrackSurroundTest.SamplePlayerBase
342 mSampleRate = sampleRate; in SamplePlayerBase()
413 mSampleRate, mEncoding)); in playAndMeasureRate()
415 mTrack = createAudioTrack(mSampleRate, mEncoding, mChannelConfig); in playAndMeasureRate()
454 mSampleRate, estimatedRate, mSampleRate * MAX_RATE_TOLERANCE_FRACTION); in playAndMeasureRate()
457 mTimestampAnalyzer.checkIndividualTimestamps(mSampleRate); in playAndMeasureRate()
DAudioHelper.java347 private final int mSampleRate; field in AudioHelper.TimestampVerifier
363 mSampleRate = sampleRate; in TimestampVerifier()
374 return mLastTimeNs - ((mLastFrames - mStartFrames) * NANOS_PER_SECOND / mSampleRate); in getStartTimeNs()
389 final double deltaFramesNs = (double)deltaFrames * NANOS_PER_SECOND / mSampleRate; in add()
DAudioRecordTest.java1470 mSampleRate = sampleRate; in start()
1499 return (int)(delta * mSampleRate / 1000); in getPosition()
1504 private int mSampleRate; field in AudioRecordTest.MockOnRecordPositionUpdateListener
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DOboePlayer.java64 mSampleRate = sampleRate; in setupStream()
75 mSampleRate = 0; in teardownStream()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h154 mSampleRate = sampleRate; in setSampleRate()
158 return mSampleRate; in getSampleRate()
193 int32_t mSampleRate = kDefaultSampleRate; // common default variable
316 mSampleRate = sampleRate; in setSampleRate()
320 return mSampleRate; in getSampleRate()
337 int32_t mSampleRate = kDefaultSampleRate;
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp48 mSampleRate = sampleRate; in setupStream()
54 builder.setSampleRate(mSampleRate); in setupStream()
/cts/tests/mediapc/src/android/mediapc/cts/
DEncoderInitializationLatencyTest.java336 mSampleRate = 8000; in EncoderInitializationLatency()
349 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in setUpFormat()
388 mSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in calculateEncoderInitializationLatency()
DCodecTestBase.java491 int mSampleRate; field in CodecEncoderTestBase
498 mSampleRate = 8000; in CodecEncoderTestBase()
616 pts += mNumBytesSubmitted * 1000000L / (2 * mChannels * mSampleRate); in enqueueInput()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderTest.java181 mSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testSimpleEncode()
254 mSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testLosslessEncodeDecode()
335 mSampleRate = inpFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE); in testFlush()
DCodecTestBase.java1406 int mSampleRate; field in CodecEncoderTestBase
1424 mSampleRate = 8000; in CodecEncoderTestBase()
1463 (mNumBytesSubmitted + 1024) * 1000000L / (2 * mChannels * mSampleRate); in flushCodec()
1572 pts += mNumBytesSubmitted * 1000000L / (2 * mChannels * mSampleRate); in enqueueInput()
1699 mSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in encodeToMemory()
DEncoderProfileLevelTest.java63 mSampleRate = encoderInfo1; in EncoderProfileLevelTest()