Searched refs:channelCount (Results 1 – 6 of 6) sorted by relevance
69 SLuint32 channelCountToMask(unsigned channelCount) { in channelCountToMask() argument70 switch (channelCount) { in channelCountToMask()
46 SLuint32 channelCountToMask(unsigned channelCount);
278 int channelCount = in onOutputFormatChanged() local282 " sampleRate:" + sampleRate + " channels:" + channelCount); in onOutputFormatChanged()287 if (channelCount < 1 || channelCount > 8 || in onOutputFormatChanged()291 mAudioTrack = new NonBlockingAudioTrack(sampleRate, channelCount, in onOutputFormatChanged()
47 public NonBlockingAudioTrack(int sampleRate, int channelCount, boolean hwAvSync, in NonBlockingAudioTrack() argument50 switch (channelCount) { in NonBlockingAudioTrack()
265 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in testEncoder() local266 int inBitrate = sampleRate * channelCount * 16; // bit/sec in testEncoder()
1460 final int channelCount = Integer.bitCount(TEST_CONF); in testPlayStaticData() local1462 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() local1584 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()