Lines Matching refs:mPcmHandle
43 mPcmHandle(NULL) in AudioPlaybackLocal()
70 mPcmHandle = pcm_open(mHwId, 0, PCM_OUT, &config); in doPrepare()
71 if (!mPcmHandle || !pcm_is_ready(mPcmHandle)) { in doPrepare()
72 LOGE("Unable to open PCM device(%d) (%s)\n", mHwId, pcm_get_error(mPcmHandle)); in doPrepare()
87 if (pcm_write(mPcmHandle, buffer->getUnhanledData(), mSizes)) { in doPlaybackOrRecord()
88 LOGE("AudioPlaybackLocal error %s", pcm_get_error(mPcmHandle)); in doPlaybackOrRecord()
103 pcm_* pcm = (pcm_*)mPcmHandle; in doStop()
105 pcm_stop(mPcmHandle); in doStop()
110 if (mPcmHandle != NULL) { in releaseHw()
113 pcm_close(mPcmHandle); in releaseHw()
114 mPcmHandle = NULL; in releaseHw()