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

Unified Diff: webrtc/api/audio/audio_mixer.h

Issue 2448113009: Add a NeededFrequency() method to the AudioMixer::Source interface. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | webrtc/audio/audio_receive_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/audio/audio_mixer.h
diff --git a/webrtc/api/audio/audio_mixer.h b/webrtc/api/audio/audio_mixer.h
index ee39daaf102acb2dc467832da5b118f2edc2eb7b..d9e36e75916bbc598507d158daabcc3509c561d0 100644
--- a/webrtc/api/audio/audio_mixer.h
+++ b/webrtc/api/audio/audio_mixer.h
@@ -44,6 +44,10 @@ class AudioMixer : public rtc::RefCountInterface {
// A way for a mixer implementation to distinguish participants.
virtual int Ssrc() = 0;
aleloi 2016/10/31 09:31:38 Unrelated: I think Ssrc should be const as well. T
kwiberg-webrtc 2016/10/31 09:43:20 Sounds good to me.
+ // A way for this source to say that GetAudioFrameWithInfo called
+ // with this frequency or higher will not cause quality loss.
+ virtual int NeededFrequency() const = 0;
kwiberg-webrtc 2016/10/31 09:43:19 So this is the native sample rate of the source? M
+
virtual ~Source() {}
};
« no previous file with comments | « no previous file | webrtc/audio/audio_receive_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698