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

Unified Diff: webrtc/audio/audio_receive_stream.h

Issue 2770233003: Implemented the GetSources() in native code. (Closed)
Patch Set: Add a direct dependency to the webrtc/voice_engine/BUILD.gn Created 3 years, 8 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
Index: webrtc/audio/audio_receive_stream.h
diff --git a/webrtc/audio/audio_receive_stream.h b/webrtc/audio/audio_receive_stream.h
index adac88387613a43a7f6220567a75c8e881fe313c..20ed4613a7ede16d1ad3aa8897cb957c8c282c34 100644
--- a/webrtc/audio/audio_receive_stream.h
+++ b/webrtc/audio/audio_receive_stream.h
@@ -12,6 +12,7 @@
#define WEBRTC_AUDIO_AUDIO_RECEIVE_STREAM_H_
#include <memory>
+#include <vector>
#include "webrtc/api/audio/audio_mixer.h"
#include "webrtc/audio/audio_state.h"
@@ -49,6 +50,7 @@ class AudioReceiveStream final : public webrtc::AudioReceiveStream,
int GetOutputLevel() const override;
void SetSink(std::unique_ptr<AudioSinkInterface> sink) override;
void SetGain(float gain) override;
+ std::vector<webrtc::RtpSource> GetSources() const override;
// TODO(nisse): Intended to be part of an RtpPacketReceiver interface.
void OnRtpPacket(const RtpPacketReceived& packet);

Powered by Google App Engine
This is Rietveld 408576698