Home | History | Annotate | Download | only in libaudio

Lines Matching refs:standby

212         // AudioStreamOutTegra destructor calls standby which locks
286 struct cpcap_audio_stream standby;
290 enable ? "standby" : "online" );
300 standby.id = CPCAP_AUDIO_OUT_STANDBY;
301 standby.on = enable;
304 /* Flush the queued playback data. Putting the output in standby
312 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_OUT_SET_OUTPUT, &standby) < 0) {
319 ALOGE("could not get current output device after standby: %s",
322 ALOGV("%s: after standby %s, output device %d is %s", __FUNCTION__,
326 standby.id = CPCAP_AUDIO_IN_STANDBY;
327 standby.on = enable;
341 if (::ioctl(mCpcapCtlFd, CPCAP_AUDIO_IN_SET_INPUT, &standby) < 0) {
347 ALOGV("%s: after standby %s, input device %d is %s", __FUNCTION__,
854 // return first input found not being in standby mode
1047 standby();
1265 standby();
1322 status = mHardware->doStandby(mFdCtl, true, true); // output, standby
1372 status_t AudioHardware::AudioStreamOutTegra::standby()
1383 ALOGV("output %p going into standby", this);
1401 status = mHardware->doStandby(mFdCtl, true, true); // output, standby
1558 standby();
1709 standby();
1719 status_t AudioHardware::AudioStreamInTegra::standby()
1729 ALOGV("input %p going into standby", this);
1742 status = mHardware->doStandby(mFdCtl, false, true); // input, standby
1765 // Use standby to flush the driver. mHardware->mLock should already be held
1990 standby();