Home | History | Annotate | Download | only in media

Lines Matching refs:sink_

94   // Post a task on the main render thread to reconfigure the |sink_| with the
123 DCHECK(!sink_.get());
133 // ...and |sink_| will get audio data from us.
134 DCHECK(!sink_.get());
135 sink_ = AudioDeviceFactory::NewOutputDevice(source_render_view_id_,
154 // It is safer to call Stop() on the |sink_| to clean up the resources even
155 // when the |sink_| is never started.
156 if (sink_.get()) {
157 sink_->Stop();
158 sink_ = NULL;
175 if (!sink_.get())
186 // Note: If volume_ is currently muted, the |sink_| will not be started yet.
194 if (!sink_.get())
214 // Lazily start the |sink_| when the local renderer is unmuted during
218 if (sink_.get())
219 sink_->SetVolume(volume);
225 if (!sink_.get())
238 if (!sink_.get() || !source_params_.IsValid())
250 DVLOG(1) << "WebRtcLocalAudioRenderer::MaybeStartSink() -- Starting sink_.";
251 sink_->InitializeWithSessionId(sink_params_, this, session_id_);
252 sink_->Start();
318 if (!sink_.get())
321 // Stop |sink_| and re-create a new one to be initialized with different audio
324 sink_->Stop();
328 sink_ = AudioDeviceFactory::NewOutputDevice(source_render_view_id_,