| 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..f786d6c99bc336e6ccf57664eaa5c7acc47f3b3a 100644
|
| --- a/webrtc/api/audio/audio_mixer.h
|
| +++ b/webrtc/api/audio/audio_mixer.h
|
| @@ -42,7 +42,11 @@ class AudioMixer : public rtc::RefCountInterface {
|
| AudioFrame* audio_frame) = 0;
|
|
|
| // A way for a mixer implementation to distinguish participants.
|
| - virtual int Ssrc() = 0;
|
| + virtual int Ssrc() const = 0;
|
| +
|
| + // A way for this source to say that GetAudioFrameWithInfo called
|
| + // with this sample rate or higher will not cause quality loss.
|
| + virtual int PreferredSampleRate() const = 0;
|
|
|
| virtual ~Source() {}
|
| };
|
|
|