Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: webrtc/call/audio_send_stream.h

Issue 2987763003: Make ~webrtc::AudioSendStream public, and s/config()/GetConfig(), as well as make public. (Closed)
Patch Set: CR response Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/audio/audio_send_stream.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/audio_send_stream.h
diff --git a/webrtc/call/audio_send_stream.h b/webrtc/call/audio_send_stream.h
index 26729e426cb835613ad61d610a19a9b0bb26f5d0..fa5b5eecc8d20c5fa57116b7b1aba8c5bc7bd887 100644
--- a/webrtc/call/audio_send_stream.h
+++ b/webrtc/call/audio_send_stream.h
@@ -129,6 +129,10 @@ class AudioSendStream {
rtc::scoped_refptr<AudioEncoderFactory> encoder_factory;
};
+ virtual ~AudioSendStream() = default;
+
+ virtual const webrtc::AudioSendStream::Config& GetConfig() const = 0;
+
// Reconfigure the stream according to the Configuration.
virtual void Reconfigure(const Config& config) = 0;
@@ -146,9 +150,6 @@ class AudioSendStream {
virtual void SetMuted(bool muted) = 0;
virtual Stats GetStats() const = 0;
-
- protected:
- virtual ~AudioSendStream() {}
};
} // namespace webrtc
« no previous file with comments | « webrtc/audio/audio_send_stream.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698