Lines Matching defs:RemoteAudioSource
28 #include "talk/app/webrtc/remoteaudiosource.h"
41 class RemoteAudioSource::MessageHandler : public rtc::MessageHandler {
43 explicit MessageHandler(RemoteAudioSource* source) : source_(source) {}
53 const rtc::scoped_refptr<RemoteAudioSource> source_;
57 class RemoteAudioSource::Sink : public AudioSinkInterface {
59 explicit Sink(RemoteAudioSource* source) : source_(source) {}
68 const rtc::scoped_refptr<RemoteAudioSource> source_;
72 rtc::scoped_refptr<RemoteAudioSource> RemoteAudioSource::Create(
75 rtc::scoped_refptr<RemoteAudioSource> ret(
76 new rtc::RefCountedObject<RemoteAudioSource>());
81 RemoteAudioSource::RemoteAudioSource()
87 RemoteAudioSource::~RemoteAudioSource() {
93 void RemoteAudioSource::Initialize(uint32_t ssrc,
104 MediaSourceInterface::SourceState RemoteAudioSource::state() const {
109 bool RemoteAudioSource::remote() const {
114 void RemoteAudioSource::SetVolume(double volume) {
120 void RemoteAudioSource::RegisterAudioObserver(AudioObserver* observer) {
127 void RemoteAudioSource::UnregisterAudioObserver(AudioObserver* observer) {
132 void RemoteAudioSource::AddSink(AudioTrackSinkInterface* sink) {
146 void RemoteAudioSource::RemoveSink(AudioTrackSinkInterface* sink) {
154 void RemoteAudioSource::OnData(const AudioSinkInterface::Data& audio) {
163 void RemoteAudioSource::OnAudioProviderGone() {
169 void RemoteAudioSource::OnMessage(rtc::Message* msg) {