Lines Matching refs:numChannels
498 int numChannels;
503 p = MediaPlayer::decode(mUrl, &sampleRate, &numChannels, &format);
505 p = MediaPlayer::decode(mFd, mOffset, mLength, &sampleRate, &numChannels, &format);
514 LOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d",
515 p->pointer(), p->size(), sampleRate, numChannels);
522 if ((numChannels < 1) || (numChannels > 2)) {
523 LOGE("Sample channel count (%d) out of range", numChannels);
534 mNumChannels = numChannels;
580 int numChannels = sample->numChannels();
587 frameCount = sample->size()/numChannels/
605 uint32_t channels = (numChannels == 2) ?
636 mNumChannels = numChannels;