Home
last modified time | relevance | path

Searched refs:source_callback_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/media/audio/pulse/
Dpulse_output.cc26 if (s && stream->source_callback_ && in StreamNotifyCallback()
28 stream->source_callback_->OnError(stream); in StreamNotifyCallback()
51 source_callback_(NULL) { in PulseAudioOutputStream()
132 if (source_callback_) { in FulfillWriteRequest()
135 frames_filled = source_callback_->OnMoreData( in FulfillWriteRequest()
155 if (source_callback_) { in FulfillWriteRequest()
156 source_callback_->OnError(this); in FulfillWriteRequest()
175 if (source_callback_ && bytes_remaining > 0) in FulfillWriteRequest()
194 source_callback_ = callback; in Start()
211 source_callback_ = NULL; in Stop()
Dpulse_output.h89 AudioSourceCallback* source_callback_; variable
/external/chromium_org/media/audio/
Daudio_output_resampler.cc43 bool started() { return source_callback_ != NULL; } in started()
55 AudioOutputStream::AudioSourceCallback* source_callback_; member in media::OnMoreDataConverter
302 source_callback_(NULL), in OnMoreDataConverter()
309 CHECK(!source_callback_); in ~OnMoreDataConverter()
314 CHECK(!source_callback_); in Start()
315 source_callback_ = callback; in Start()
324 CHECK(source_callback_); in Stop()
325 source_callback_ = NULL; in Stop()
350 const int frames = source_callback_->OnMoreData(dest, new_buffers_state); in ProvideInput()
360 source_callback_->OnError(stream); in OnError()
/external/chromium_org/media/audio/cras/
Dcras_unified.cc84 source_callback_(NULL), in CrasUnifiedStream()
177 source_callback_ = callback; in Start()
345 DCHECK(source_callback_); in ReadWriteAudio()
360 int frames_filled = source_callback_->OnMoreData( in ReadWriteAudio()
378 int frames_filled = source_callback_->OnMoreData( in WriteAudio()
391 if (source_callback_) in NotifyStreamError()
392 source_callback_->OnError(this); in NotifyStreamError()
Dcras_unified.h108 AudioSourceCallback* source_callback_; variable
/external/chromium_org/media/audio/alsa/
Dalsa_output.cc158 source_callback_(NULL), in AlsaPcmOutputStream()
746 if (source_callback_) in RunDataCallback()
747 return source_callback_->OnMoreData(audio_bus, buffers_state); in RunDataCallback()
753 if (source_callback_) in RunErrorCallback()
754 source_callback_->OnError(this); in RunErrorCallback()
761 source_callback_ = callback; in set_source_callback()
Dalsa_output.h207 AudioSourceCallback* source_callback_; variable