/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | Recorder.java | 54 public static int calcMinBufferFrames(int channelCount, int sampleRate) { in calcMinBufferFrames() argument 55 int channelMask = Recorder.channelCountToChannelMask(channelCount); in calcMinBufferFrames() 104 public static int channelCountToChannelMask(int channelCount) { in channelCountToChannelMask() argument 106 switch (channelCount) { in channelCountToChannelMask() 122 return audioChannelMaskForIndexAssignmentFromCount(channelCount); in channelCountToChannelMask()
|
D | OboeRecorder.java | 54 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream() argument 55 mChannelCount = channelCount; in setupStream() 57 return setupStreamN(mNativeRecorder, channelCount, sampleRate, in setupStream() 89 …private native int setupStreamN(long nativeRecorder, int channelCount, int sampleRate, int routeDe… in setupStreamN() argument
|
D | JavaRecorder.java | 94 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream() argument 96 Log.i(TAG, "setupStream(chans:" + channelCount + ", rate:" + sampleRate + in setupStream() 99 mChannelCount = channelCount; in setupStream()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | AudioUtils.java | 38 public static int countToOutPositionMask(int channelCount) { in countToOutPositionMask() argument 39 switch (channelCount) { in countToOutPositionMask() 54 public static int countToInPositionMask(int channelCount) { in countToInPositionMask() argument 55 switch (channelCount) { in countToInPositionMask()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioNativeTest.java | 227 int channelCount = Long.bitCount(mask); in testOutputChannelMasks() local 228 boolean expectSuccess = (channelCount > 0) in testOutputChannelMasks() 234 boolean ok = track.open(channelCount, in testOutputChannelMasks() 270 int channelCount = Long.bitCount(mask); in testInputChannelMasksPreQ() local 271 boolean expectSuccess = (channelCount > 0) in testInputChannelMasksPreQ() 277 boolean ok = recorder.open(channelCount, in testInputChannelMasksPreQ() 307 int channelCount = AudioFormat.channelCountFromInChannelMask(mask); in testInputChannelMasksPostQ() local 308 if (channelCount <= 2) { in testInputChannelMasksPostQ() 312 int equivIndexMask = (1 << channelCount) - 1; in testInputChannelMasksPostQ() 324 int channelCount = Long.bitCount(mask); in testInputChannelMasksPostQ() local [all …]
|
D | CodecState.java | 345 int channelCount = in onOutputFormatChanged() local 349 " sampleRate:" + sampleRate + " channels:" + channelCount); in onOutputFormatChanged() 354 if (channelCount < 1 || channelCount > 8 || in onOutputFormatChanged() 358 mAudioTrack = new NonBlockingAudioTrack(sampleRate, channelCount, in onOutputFormatChanged()
|
D | NonBlockingAudioTrack.java | 49 public NonBlockingAudioTrack(int sampleRate, int channelCount, boolean hwAvSync, in NonBlockingAudioTrack() argument 52 switch (channelCount) { in NonBlockingAudioTrack()
|
D | DynamicsProcessingTest.java | 142 final int channelCount = mDP.getChannelCount(); in test1_1ParametersChannel() local 143 assertTrue("unexpected channel count", channelCount >= MIN_CHANNEL_COUNT); in test1_1ParametersChannel() 264 int channelCount = mDP.getChannelCount(); in test1_6Channel_perStage() local 265 for (int i = 0; i < channelCount; i++) { in test1_6Channel_perStage() 349 int channelCount = mDP.getChannelCount(); in test1_7Channel_perBand() local 351 for (int i = 0; i < channelCount; i++) { in test1_7Channel_perBand() 427 int channelCount = mDP.getChannelCount(); in test1_8Channel_setAllChannelsTo() local 428 for (int i = 0; i < channelCount; i++) { in test1_8Channel_setAllChannelsTo() 471 int channelCount = mDP.getChannelCount(); in test1_9Channel_setChannelTo() local 472 for (int i = 0; i < channelCount; i++) { in test1_9Channel_setChannelTo() [all …]
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | Player.java | 46 public static int calcMinBufferFrames(int channelCount, int sampleRate) { in calcMinBufferFrames() argument 47 int channelMask = Player.channelCountToChannelMask(channelCount); in calcMinBufferFrames() 73 public static int channelCountToChannelMask(int channelCount) { in channelCountToChannelMask() argument 74 switch (channelCount) { in channelCountToChannelMask()
|
D | OboePlayer.java | 62 public int setupStream(int channelCount, int sampleRate, int numBurstFrames) { in setupStream() argument 63 mChannelCount = channelCount; in setupStream() 66 mNativePlayer, channelCount, sampleRate, in setupStream() 103 …private native int setupStreamN(long nativePlayer, int channelCount, int sampleRate, int routeDevi… in setupStreamN() argument
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | utils.cpp | 90 int32_t channelCount, aaudio_format_t dataFormat, in StreamBuilderHelper() argument 93 mRequested{sampleRate, channelCount, dataFormat, sharingMode, perfMode}, 113 AAudioStreamBuilder_setChannelCount(mBuilder, mRequested.channelCount); in initBuilder() 147 mActual.channelCount = AAudioStream_getChannelCount(mStream); in createAndVerifyStream() 148 ASSERT_GE(mActual.channelCount, 1); in createAndVerifyStream() 149 ASSERT_LE(mActual.channelCount, 16); // TODO what is min/max? in createAndVerifyStream()
|
D | utils.h | 40 int32_t channelCount; member 86 int32_t channelCount, aaudio_format_t dataFormat,
|
D | test_aaudio_stream_builder.cpp | 562 int32_t channelCount, 568 int32_t channelCount, bool setChannelMaskFirst) { in testSetChannelMaskAndCount() argument 574 AAudioStreamBuilder_setChannelCount(aaudioBuilder, channelCount); in testSetChannelMaskAndCount() 576 AAudioStreamBuilder_setChannelCount(aaudioBuilder, channelCount); in testSetChannelMaskAndCount() 584 ASSERT_EQ(channelCount, AAudioStream_getChannelCount(aaudioStream)); in testSetChannelMaskAndCount()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/audio/ |
D | AudioCapabilitiesTestActivity.java | 184 private static int channelCountToMask(int channelCount) { in channelCountToMask() argument 185 switch (channelCount) { in channelCountToMask() 228 private static AudioFormat makeAudioFormat(int encoding, int sampleRate, int channelCount) { in makeAudioFormat() argument 232 .setChannelMask(channelCountToMask(channelCount)) in makeAudioFormat()
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | LatencyAnalyzer.h | 264 virtual result_code processInputFrame(float *frameData, int channelCount) = 0; 265 virtual result_code processOutputFrame(float *frameData, int channelCount) = 0; 498 result_code processInputFrame(float *frameData, int channelCount) override { in processInputFrame() argument 517 mAudioRecording.write(frameData, channelCount, 1); in processInputFrame() 533 result_code processOutputFrame(float *frameData, int channelCount) override { in processOutputFrame() argument 538 for (int i = 0; i < channelCount; i++) { in processOutputFrame() 542 for (int i = 0; i < channelCount; i++) { in processOutputFrame() 552 for (int i = 0; i < channelCount; i++) { in processOutputFrame()
|
/cts/tests/tests/media/libaudiojni/ |
D | sl-utils.cpp | 69 SLuint32 channelCountToMask(unsigned channelCount) { in channelCountToMask() argument 70 switch (channelCount) { in channelCountToMask()
|
D | sl-utils.h | 46 SLuint32 channelCountToMask(unsigned channelCount);
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | OboeRecorder.h | 42 …virtual Result setupStream(int32_t channelCount, int32_t sampleRate, int32_t routeDeviceId) overri…
|
D | OboeRecorder.cpp | 37 int32_t channelCount, int32_t sampleRate, int32_t routeDeviceId) in setupStream() argument 47 mChannelCount = channelCount; in setupStream()
|
/cts/apps/CtsVerifier/jni/megaaudio/common/ |
D | StreamBase.h | 69 virtual Result setupStream(int32_t channelCount, int32_t sampleRate, int32_t routeDeviceId) = 0;
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | OboePlayer.h | 37 …virtual Result setupStream(int32_t channelCount, int32_t sampleRate, int32_t routeDeviceId) overri…
|
D | OboePlayer.cpp | 69 StreamBase::Result OboePlayer::setupStream(int32_t channelCount, int32_t sampleRate, int32_t routeD… in setupStream() argument 77 mChannelCount = channelCount; in setupStream()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/ |
D | StreamBase.java | 99 public abstract int setupStream(int channelCount, int sampleRate, int numFrames); in setupStream() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioAEC.java | 123 public boolean updateRms(PipeShort pipe, int channelCount, int channel) { in updateRms() argument 131 for (int i = channel; i < mBlockSize; i += channelCount) { in updateRms() 219 int channelCount = getChannelCount(); in onCreate() 220 mRMSPlayer1.updateRms(mPipe, channelCount, 0); //Only updated if running in onCreate() 221 mRMSPlayer2.updateRms(mPipe, channelCount, 0); in onCreate()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechWrapper.java | 253 int channelCount) { in onBeginSynthesis() argument 259 Assert.assertTrue(channelCount >= 1); in onBeginSynthesis() 260 Assert.assertTrue(channelCount <= 2); in onBeginSynthesis()
|