| Index: webrtc/media/engine/webrtcvoiceengine.h
|
| diff --git a/webrtc/media/engine/webrtcvoiceengine.h b/webrtc/media/engine/webrtcvoiceengine.h
|
| index dbb7ea6e76715a811b75a9b907c0e7c4b077fef1..5f1ad8bdf903568315b5da823ef4f1e685f35df0 100644
|
| --- a/webrtc/media/engine/webrtcvoiceengine.h
|
| +++ b/webrtc/media/engine/webrtcvoiceengine.h
|
| @@ -31,7 +31,7 @@
|
| namespace cricket {
|
|
|
| class AudioDeviceModule;
|
| -class AudioRenderer;
|
| +class AudioSource;
|
| class VoEWrapper;
|
| class WebRtcVoiceMediaChannel;
|
|
|
| @@ -155,13 +155,13 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
|
| bool SetPlayout(bool playout) override;
|
| bool PausePlayout();
|
| bool ResumePlayout();
|
| - bool SetSend(SendFlags send) override;
|
| + bool SetSend(bool send) override;
|
| bool PauseSend();
|
| bool ResumeSend();
|
| bool SetAudioSend(uint32_t ssrc,
|
| bool enable,
|
| const AudioOptions* options,
|
| - AudioRenderer* renderer) override;
|
| + AudioSource* source) override;
|
| bool AddSendStream(const StreamParams& sp) override;
|
| bool RemoveSendStream(uint32_t ssrc) override;
|
| bool AddRecvStream(const StreamParams& sp) override;
|
| @@ -215,7 +215,7 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
|
| bool SetOptions(const AudioOptions& options);
|
| bool SetMaxSendBandwidth(int bps);
|
| bool SetRecvCodecs(const std::vector<AudioCodec>& codecs);
|
| - bool SetLocalRenderer(uint32_t ssrc, AudioRenderer* renderer);
|
| + bool SetLocalSource(uint32_t ssrc, AudioSource* source);
|
| bool MuteStream(uint32_t ssrc, bool mute);
|
|
|
| WebRtcVoiceEngine* engine() { return engine_; }
|
| @@ -225,8 +225,6 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
|
| void SetNack(int channel, bool nack_enabled);
|
| bool SetSendCodec(int channel, const webrtc::CodecInst& send_codec);
|
| bool ChangePlayout(bool playout);
|
| - bool ChangeSend(SendFlags send);
|
| - bool ChangeSend(int channel, SendFlags send);
|
| int CreateVoEChannel();
|
| bool DeleteVoEChannel(int channel);
|
| bool IsDefaultRecvStream(uint32_t ssrc) {
|
| @@ -249,8 +247,7 @@ class WebRtcVoiceMediaChannel final : public VoiceMediaChannel,
|
| bool nack_enabled_ = false;
|
| bool transport_cc_enabled_ = false;
|
| bool playout_ = false;
|
| - SendFlags desired_send_ = SEND_NOTHING;
|
| - SendFlags send_ = SEND_NOTHING;
|
| + bool send_ = false;
|
| webrtc::Call* const call_ = nullptr;
|
|
|
| // SSRC of unsignalled receive stream, or -1 if there isn't one.
|
|
|