Lines Matching refs:AudioSink
68 // Maximum time in paused state when offloading audio decompression. When elapsed, the AudioSink
72 // Maximum allowed delay from AudioSink, 1.5 seconds.
90 const sp<MediaPlayer2Interface::AudioSink> &sink,
195 // don't call audiosink's setPlaybackRate if pausing, as pitch does not
197 // settings nonetheless, using the old speed, in case audiosink changes.
236 // get playback settings used by audiosink, as it may be
237 // slightly off due to audiosink not taking small changes.
358 // AudioSink has rendered some frames.
808 MediaPlayer2Interface::AudioSink * /* audioSink */,
812 MediaPlayer2Interface::AudioSink::cb_event_t event) {
816 case MediaPlayer2Interface::AudioSink::CB_EVENT_FILL_BUFFER:
822 case MediaPlayer2Interface::AudioSink::CB_EVENT_STREAM_END:
824 ALOGV("AudioSink::CB_EVENT_STREAM_END");
829 case MediaPlayer2Interface::AudioSink::CB_EVENT_TEAR_DOWN:
831 ALOGV("AudioSink::CB_EVENT_TEAR_DOWN");
971 // in AudioSink before draining audio. If AudioTrack doesn't exist, then
977 // AudioSink is opened there, and possible interactions with flush
1059 // An error in AudioSink write. Perhaps the AudioSink was not properly opened.
1061 ALOGV("AudioSink write would block when writing %zu bytes", copy);
1063 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy);
1064 // This can only happen when AudioSink was opened with doNotReconnect flag set to
1103 // A short count was received from AudioSink::write()
1105 // AudioSink write is called in non-blocking mode.
1110 // 2) The data to be copied exceeds the available buffer in AudioSink.
1111 // 3) An error occurs and data has been partially copied to the buffer in AudioSink.
1112 // 4) AudioSink is an AudioCache for data retrieval, and the AudioCache is exceeded.
1122 ALOGV("AudioSink write short frame count %zd < %zu", written, copy);
1212 // Enough data has been sent to AudioSink, but AudioSink has not rendered
1213 // any data yet. Something is wrong with AudioSink, e.g., the device is not
1215 // Switch to system clock. This essentially creates a virtual AudioSink with
1217 // This virtual AudioSink renders audio data starting from the very first sample
1219 ALOGW("AudioSink stuck. ARE YOU CONNECTED TO AUDIO OUT? Switching to system clock.");
1615 // Call stop() to signal to the AudioSink to completely fill the
1741 // Note: audio data may not have been decoded, and the AudioSink may not be opened.
1754 // Note: audio data may not have been decoded, and the AudioSink may not be opened.
1759 ALOGE("cannot start AudioSink err %d", err);
1771 // configure audiosink as we did not do it when pausing
1841 // the AudioSink open and with offloadingAudio enabled.
1867 // signal to the AudioSink to derive the mask from count.
1919 ALOGV("openAudioSink: try to open AudioSink in offload mode");
1970 ALOGV("openAudioSink: open AudioSink in NON-offload mode");
1991 // This requires a fix in AudioSink to explicitly specify the transfer mode.
2002 // The doNotReconnect means AudioSink will signal back and let NuPlayer2 to re-construct
2003 // AudioSink. We don't want this when there's video because it will cause a video seek to