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