Lines Matching refs:mPcmConfig
198 DUMP("\tinput sample rate: %d\n", mPcmConfig.rate); in dump()
199 DUMP("\tinput channels: %d\n", mPcmConfig.channels); in dump()
349 memset(&mPcmConfig, 0, sizeof(mPcmConfig)); in startInputStream_l()
355 mPcmConfig.channels = deviceInfo->minChannelCount; in startInputStream_l()
357 mPcmConfig.channels = deviceInfo->maxChannelCount; in startInputStream_l()
359 mPcmConfig.channels = requestedChannelCount; in startInputStream_l()
378 mPcmConfig.rate = chosenSampleRate; in startInputStream_l()
380 mPcmConfig.period_size = in startInputStream_l()
381 AudioHardwareInput::kPeriodMsec * mPcmConfig.rate / 1000; in startInputStream_l()
382 mPcmConfig.period_count = kPeriodCount; in startInputStream_l()
383 mPcmConfig.format = PCM_FORMAT_S16_LE; in startInputStream_l()
387 PCM_IN, &mPcmConfig); in startInputStream_l()
400 mBufferSize = pcm_frames_to_bytes(pcm, mPcmConfig.period_size); in startInputStream_l()
413 if (mPcmConfig.rate != mRequestedSampleRate) { in startInputStream_l()
415 mPcmConfig.rate, mRequestedSampleRate); in startInputStream_l()
416 int ret = create_resampler(mPcmConfig.rate, in startInputStream_l()
522 mFramesIn = mPcmConfig.period_size; in getNextBuffer()
523 if (mPcmConfig.channels == 2) { in getNextBuffer()
535 buffer->i16 = mBuffer + (mPcmConfig.period_size - mFramesIn); in getNextBuffer()