Lines Matching refs:mNumChannels
85 int32_t mNumChannels;
199 mNumChannels = U16_LE_AT(&formatSpec[2]);
201 if (mNumChannels < 1 || mNumChannels > 8) {
202 ALOGE("Unsupported number of channels (%d)", mNumChannels);
207 if (mNumChannels != 1 && mNumChannels != 2) {
209 mNumChannels);
236 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask);
243 && (popcount(mChannelMask) != mNumChannels)) {
310 mTrackMeta.setInt32(kKeyChannelCount, mNumChannels);
323 if (!bytesPerSample || !mNumChannels)
326 size_t num_samples = mDataSize / (mNumChannels * bytesPerSample);
359 mNumChannels(0),
366 CHECK(mMeta.findInt32(kKeyChannelCount, &mNumChannels));
436 pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3);
472 const size_t inputUnitFrameSize = mNumChannels * mBitsPerSample / 8;
532 / (mNumChannels * bytesPerSample) / mSampleRate;