Home | History | Annotate | Download | only in nuplayer

Lines Matching refs:AudioSink

69 // Maximum time in paused state when offloading audio decompression. When elapsed, the AudioSink
73 // Maximum allowed delay from AudioSink, 1.5 seconds.
91 const sp<MediaPlayerBase::AudioSink> &sink,
196 // don't call audiosink's setPlaybackRate if pausing, as pitch does not
198 // settings nonetheless, using the old speed, in case audiosink changes.
237 // get playback settings used by audiosink, as it may be
238 // slightly off due to audiosink not taking small changes.
359 // AudioSink has rendered some frames.
809 MediaPlayerBase::AudioSink * /* audioSink */,
813 MediaPlayerBase::AudioSink::cb_event_t event) {
817 case MediaPlayerBase::AudioSink::CB_EVENT_FILL_BUFFER:
823 case MediaPlayerBase::AudioSink::CB_EVENT_STREAM_END:
825 ALOGV("AudioSink::CB_EVENT_STREAM_END");
830 case MediaPlayerBase::AudioSink::CB_EVENT_TEAR_DOWN:
832 ALOGV("AudioSink::CB_EVENT_TEAR_DOWN");
972 // in AudioSink before draining audio. If AudioTrack doesn't exist, then
978 // AudioSink is opened there, and possible interactions with flush
1060 // An error in AudioSink write. Perhaps the AudioSink was not properly opened.
1062 ALOGV("AudioSink write would block when writing %zu bytes", copy);
1064 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy);
1065 // This can only happen when AudioSink was opened with doNotReconnect flag set to
1104 // A short count was received from AudioSink::write()
1106 // AudioSink write is called in non-blocking mode.
1111 // 2) The data to be copied exceeds the available buffer in AudioSink.
1112 // 3) An error occurs and data has been partially copied to the buffer in AudioSink.
1113 // 4) AudioSink is an AudioCache for data retrieval, and the AudioCache is exceeded.
1123 ALOGV("AudioSink write short frame count %zd < %zu", written, copy);
1213 // Enough data has been sent to AudioSink, but AudioSink has not rendered
1214 // any data yet. Something is wrong with AudioSink, e.g., the device is not
1216 // Switch to system clock. This essentially creates a virtual AudioSink with
1218 // This virtual AudioSink renders audio data starting from the very first sample
1220 ALOGW("AudioSink stuck. ARE YOU CONNECTED TO AUDIO OUT? Switching to system clock.");
1616 // Call stop() to signal to the AudioSink to completely fill the
1737 // Note: audio data may not have been decoded, and the AudioSink may not be opened.
1750 // Note: audio data may not have been decoded, and the AudioSink may not be opened.
1755 ALOGE("cannot start AudioSink err %d", err);
1767 // configure audiosink as we did not do it when pausing
1843 // the AudioSink open and with offloadingAudio enabled.
1869 // signal to the AudioSink to derive the mask from count.
1921 ALOGV("openAudioSink: try to open AudioSink in offload mode");
1972 ALOGV("openAudioSink: open AudioSink in NON-offload mode");
1993 // This requires a fix in AudioSink to explicitly specify the transfer mode.
2004 // The doNotReconnect means AudioSink will signal back and let NuPlayer to re-construct
2005 // AudioSink. We don't want this when there's video because it will cause a video seek to