Home
last modified time | relevance | path

Searched refs:channelCount (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/libaudiojni/
Dsl-utils.cpp69 SLuint32 channelCountToMask(unsigned channelCount) { in channelCountToMask() argument
70 switch (channelCount) { in channelCountToMask()
Dsl-utils.h46 SLuint32 channelCountToMask(unsigned channelCount);
/cts/tests/tests/media/src/android/media/cts/
DCodecState.java278 int channelCount = in onOutputFormatChanged() local
282 " sampleRate:" + sampleRate + " channels:" + channelCount); in onOutputFormatChanged()
287 if (channelCount < 1 || channelCount > 8 || in onOutputFormatChanged()
291 mAudioTrack = new NonBlockingAudioTrack(sampleRate, channelCount, in onOutputFormatChanged()
DNonBlockingAudioTrack.java47 public NonBlockingAudioTrack(int sampleRate, int channelCount, boolean hwAvSync, in NonBlockingAudioTrack() argument
50 switch (channelCount) { in NonBlockingAudioTrack()
DEncoderTest.java265 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in testEncoder() local
266 int inBitrate = sampleRate * channelCount * 16; // bit/sec in testEncoder()
DAudioTrackTest.java1460 final int channelCount = Integer.bitCount(TEST_CONF); in testPlayStaticData() local
1462 final int bufferSamples = bufferFrames * channelCount; in testPlayStaticData()
1465 final double testFrequency = frequency / channelCount; in testPlayStaticData()
1580 final int channelCount = Integer.bitCount(TEST_CONF); in testPlayStreamData() local
1584 assertEquals(TEST_NAME, channelCount, format.getChannelCount()); in testPlayStreamData()
1586 final int sourceSamples = channelCount in testPlayStreamData()
1589 final double testFrequency = frequency / channelCount; in testPlayStreamData()
1605 (track.getBufferSizeInFrames() / buffers) * channelCount; in testPlayStreamData()