Searched refs:standby (Results 1 - 24 of 24) sorted by relevance

/hardware/bsp/intel/peripheral/audio/generic/
H A Daudio_hal.c88 bool standby; member in struct:audio_device
99 bool standby; member in struct:stream_out
124 bool standby; member in struct:stream_in
396 if (!out->standby) {
400 out->standby = true;
434 if (!out->standby)
494 if (out->standby) {
501 out->standby = false;
606 out->stream.common.standby = out_standby;
701 out->standby
[all...]
/hardware/libhardware/modules/usbaudio/
H A Daudio_hal.c70 bool standby; member in struct:audio_device
83 bool standby; member in struct:stream_out
114 bool standby; member in struct:stream_in
335 if (!out->standby) {
339 out->standby = true;
381 if (!out->standby)
440 if (out->standby) {
447 out->standby = false;
550 out->stream.common.standby = out_standby;
649 out->standby
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioDumpInterface.cpp117 dumpOut->standby();
179 dumpIn->standby();
303 status_t AudioStreamOutDump::standby() function in class:android::AudioStreamOutDump
305 ALOGV("AudioStreamOutDump standby(), mFile %p, mFinalStream %p", mFile, mFinalStream);
308 if (mFinalStream != 0 ) return mFinalStream->standby();
500 status_t AudioStreamInDump::standby() function in class:android::AudioStreamInDump
502 ALOGV("AudioStreamInDump standby(), mFile %p, mFinalStream %p", mFile, mFinalStream);
505 if (mFinalStream != 0 ) return mFinalStream->standby();
H A DAudioHardwareGeneric.h57 virtual status_t standby();
91 virtual status_t standby() { return NO_ERROR; } function in class:android_audio_legacy::AudioStreamInGeneric
H A DAudioHardwareStub.h40 virtual status_t standby();
57 virtual status_t standby() { return NO_ERROR; } function in class:android_audio_legacy::AudioStreamInStub
H A DA2dpAudioInterface.cpp329 standby();
352 status_t A2dpAudioInterface::A2dpAudioStreamOut::standby() function in class:android_audio_legacy::A2dpAudioInterface::A2dpAudioStreamOut
396 standby();
467 standby();
H A DAudioDumpInterface.h52 virtual status_t standby();
94 virtual status_t standby();
H A DA2dpAudioInterface.h93 status_t standby();
H A DAudioHardwareStub.cpp136 status_t AudioStreamOutStub::standby() function in class:android_audio_legacy::AudioStreamOutStub
H A Daudio_hw_hal.cpp173 return out->legacy_out->standby();
323 return in->legacy_in->standby();
522 out->stream.common.standby = out_standby;
588 in->stream.common.standby = in_standby;
H A DAudioHardwareGeneric.cpp239 status_t AudioStreamOutGeneric::standby() function in class:android_audio_legacy::AudioStreamOutGeneric
241 // Implement: audio hardware to standby mode
/hardware/intel/audio_media/hdmi/
H A Dtinyaudio_hw.c120 bool standby; member in struct:audio_device
130 bool standby; member in struct:stream_out
349 ALOGV("%s enter standby = %d",__func__,out->standby);
354 if (!out->standby && activePcm) {
357 out->standby = true;
579 out->standby = true;
582 if (out->standby) {
587 out->standby = false;
730 out->stream.common.standby
[all...]
/hardware/libhardware/modules/audio/
H A Daudio_hw.c135 // we don't sleep when we exit standby (this is typical for a real alsa buffer).
253 // we do a full sleep when exiting standby.
254 const bool standby = in->last_read_time_us == 0; local
255 const int64_t elapsed_time_since_last_read = standby ?
314 out->stream.common.standby = out_standby;
441 in->stream.common.standby = in_standby;
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareInterface.h93 * Put the audio hardware output into standby mode. Returns
96 virtual status_t standby() = 0;
106 // The audio flinger will put the output in standby and then change the parameter value.
111 // the output has exited standby
168 * Put the audio hardware input into standby mode. Returns
171 virtual status_t standby() = 0;
178 // The audio flinger will put the input in standby and then change the parameter value.
/hardware/qcom/audio/hal/
H A Daudio_hw.h180 int standby; member in struct:stream_out
191 uint64_t written; /* total frames written, not cleared when entering standby */
223 int standby; member in struct:stream_in
231 int64_t frames_read; /* total frames read, not cleared when entering standby */
H A Daudio_hw.c1864 if (!out->standby) {
1869 out->standby = true;
1899 if (!out->standby) {
1920 // If we're not in standby, we may be blocked on a write.
1922 dprintf(fd, " Standby: %s\n", out->standby ? "yes" : "no");
1997 * continues to write data until standby time (3sec).
1999 * Avoid this by routing audio to speaker until standby.
2041 if (!out->standby) {
2222 // we don't sleep when we exit standby (this is typical for a real alsa buffer).
2249 if (out->standby) {
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioHardwareALSA.h197 status_t (*standby)(alsa_handle_t *); member in struct:android_audio_legacy::alsa_device_t
322 virtual status_t standby();
333 // the output has exited standby
379 virtual status_t standby();
H A Daudio_hw_hal.cpp193 return out->qcom_out->standby();
342 return in->qcom_in->standby();
538 out->stream.common.standby = out_standby;
588 out->stream.common.standby = out_standby;
656 in->stream.common.standby = in_standby;
H A DAudioStreamOutALSA.cpp335 status_t AudioStreamOutALSA::standby() function in class:android_audio_legacy::AudioStreamOutALSA
339 ALOGV("standby");
357 mHandle->module->standby(mHandle);
377 // the output has exited standby
H A DAudioStreamInALSA.cpp573 status_t AudioStreamInALSA::standby() function in class:android_audio_legacy::AudioStreamInALSA
577 ALOGD("standby");
585 ALOGD("standby");
589 ALOGD(" into standby, stop record");
594 mHandle->module->standby(mHandle);
H A Dalsa_default.cpp143 dev->standby = s_standby;
/hardware/qcom/audio/hal/audio_extn/
H A Dsoundtrigger.c139 if (in->standby)
140 in->standby = false;
/hardware/libhardware/include/hardware/
H A Daudio.h205 * Put the audio hardware input/output into standby mode.
206 * Driver should exit from standby mode at the next I/O operation.
209 int (*standby)(struct audio_stream *stream); member in struct:audio_stream
235 * The audio flinger will put the stream in standby and then change the
316 * the output has exited standby
386 * The count is not reset to zero when output enters standby.
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp194 bool output_standby_rec_thr; // output standby state as seen from record thread
1104 // keep track of when we exit input standby (== first read == start "real recording")
1385 out->stream.common.standby = out_standby;
1624 in->stream.common.standby = in_standby;

Completed in 242 milliseconds