Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DSignalObserver.java107 * mAudioSource.getChannelCount()) / 1000); in AudioRecorderThread()
161 final int channelCount = mAudioSource.getChannelCount(); in isFrequencyPresent()
181 int getChannelCount(); in getChannelCount() method
206 public int getChannelCount() { in getChannelCount() method in SignalObserver.AudioRecordSource
207 return mAudioRecord.getChannelCount(); in getChannelCount()
235 public int getChannelCount() { in getChannelCount() method in SignalObserver.AudioCaptureSource
236 return mAudioCapture.getFormat().getChannelCount(); in getChannelCount()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DOboeRecorder.java55 public int getChannelCount() { in getChannelCount() method in OboeRecorder
65 mChannelCount = builder.getChannelCount(); in setupStream()
DJavaRecorder.java81 public int getChannelCount() { in getChannelCount() method in JavaRecorder
82 return mAudioRecord != null ? mAudioRecord.getChannelCount() : -1; in getChannelCount()
104 mChannelCount = builder.getChannelCount(); in setupStream()
DJavaSinkHandler.java65 mRecorder.getNumExchangeFrames(), mRecorder.getChannelCount()); in handleMessage()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DJavaPlayer.java76 public int getChannelCount() { in getChannelCount() method in JavaPlayer
77 return mAudioTrack != null ? mAudioTrack.getChannelCount() : -1; in getChannelCount()
124 mChannelCount = builder.getChannelCount(); in setupStream()
DOboePlayer.java65 public int getChannelCount() { in getChannelCount() method in OboePlayer
75 mChannelCount = builder.getChannelCount(); in setupStream()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAudioCodecTest.java157 public void getChannelCount() { in getChannelCount() method in BluetoothLeAudioCodecTest
167 assertEquals(channelCount, leAudioCodecConfig.getChannelCount()); in getChannelCount()
258 leAudioCodecConfigFromParcel.getChannelCount()); in readWriteParcel()
293 toBuilderCodecConfig.getChannelCount()); in builderWithExistingObject()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java216 return format.getChannelCount() in frameSizeFromFormat()
592 mTrackPosition += result / mTrack.getChannelCount(); in read()
606 mTrackPosition += result / mTrack.getChannelCount(); in read()
620 mTrackPosition += result / mTrack.getChannelCount(); in read()
634 mTrackPosition += result / mTrack.getChannelCount(); in read()
648 mTrackPosition += result / mTrack.getChannelCount(); in read()
663 mTrackPosition += result / (mTrack.getChannelCount() in read()
679 mTrackPosition += result / (mTrack.getChannelCount() in read()
/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.cpp146 int32_t OboeStream::getChannelCount() { in getChannelCount() function in OboeStream
148 ? (int32_t) mAudioStream->getChannelCount() in getChannelCount()
DOboeStream.h44 int32_t getChannelCount();
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DBuilderBase.java151 public int getChannelCount() { in getChannelCount() method in BuilderBase
DStreamBase.java261 public abstract int getChannelCount(); in getChannelCount() method in StreamBase
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java139 return mPlayer != null ? mPlayer.getChannelCount() : -1; in getPlayerChannelCount()
143 return mRecorder != null ? mRecorder.getChannelCount() : -1; in getRecorderChannelCount()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioNativeTest.java451 mPosition += samples / mTrack.getChannelCount(); in read()
461 mPosition += samples / mTrack.getChannelCount(); in read()
DAudioTrackNative.java111 public int getChannelCount() { in getChannelCount() method in AudioTrackNative
DAudioRecordNative.java109 public int getChannelCount() { in getChannelCount() method in AudioRecordNative
DMediaSyncEventTest.java78 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord()
DDynamicsProcessingTest.java152 final int channelCount = mDP.getChannelCount(); in test1_1ParametersChannel()
279 int channelCount = mDP.getChannelCount(); in test1_6Channel_perStage()
365 int channelCount = mDP.getChannelCount(); in test1_7Channel_perBand()
444 int channelCount = mDP.getChannelCount(); in test1_8Channel_setAllChannelsTo()
489 int channelCount = mDP.getChannelCount(); in test1_9Channel_setChannelTo()
DAudioFormatTest.java64 6, copiedFormat.getChannelCount()); in testBuilderForCopy()
DAudioTrackTest.java1517 assertEquals(hannelCount, track.getChannelCount()); in testAudioTrackProperties()
1831 assertEquals(testName, channelCount, format.getChannelCount()); in playOnceStreamData()
1931 final int bufferSamples = frameCount * format.getChannelCount(); in playOnceStreamByteBuffer()
1951 final double sampleFrequency = testFrequency / format.getChannelCount(); in playOnceStreamByteBuffer()
2461 final int sampleCount = frameCount * format.getChannelCount(); in testVariableSpeedPlayback()
3082 assertEquals(1, track.getChannelCount()); // must be MONO in validateWriteStartsStream()
3123 assertEquals(1, track.getChannelCount()); // must be MONO in validateSetStartThresholdStartsStream()
DAudioRecordTest.java173 assertEquals(1, mAudioRecord.getChannelCount()); in testAudioRecordProperties()
536 final int observedChannelCount = rec.getChannelCount(); in testAudioRecordBuilderParams()
1041 format.getChannelCount() * AudioFormat.getBytesPerSample(audioFormat); in createAudioRecord()
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp183 return ((OboeRecorder*)native_recorder)->getChannelCount(); in Java_org_hyphonate_megaaudio_recorder_OboeRecorder_getChannelCountN()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp227 return ((OboePlayer*)(native_player))->getChannelCount(); in Java_org_hyphonate_megaaudio_player_OboePlayer_getChannelCountN()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java96 public int getChannelCount() { in getChannelCount() method in SoundPlayerObject
DAudioAEC.java242 int channelCount = getChannelCount(); in onCreate()

12