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

Side by Side Diff: webrtc/voice_engine/channel_proxy.h

Issue 2062193002: Add AudioReceiveStream::SetGain() method and use that in WVoMC::SetOutputVolume(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: bad test Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void SetInputMute(bool muted); 76 virtual void SetInputMute(bool muted);
77 77
78 virtual void RegisterExternalTransport(Transport* transport); 78 virtual void RegisterExternalTransport(Transport* transport);
79 virtual void DeRegisterExternalTransport(); 79 virtual void DeRegisterExternalTransport();
80 virtual bool ReceivedRTPPacket(const uint8_t* packet, 80 virtual bool ReceivedRTPPacket(const uint8_t* packet,
81 size_t length, 81 size_t length,
82 const PacketTime& packet_time); 82 const PacketTime& packet_time);
83 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length); 83 virtual bool ReceivedRTCPPacket(const uint8_t* packet, size_t length);
84 84
85 virtual const rtc::scoped_refptr<AudioDecoderFactory>& 85 virtual const rtc::scoped_refptr<AudioDecoderFactory>&
86 GetAudioDecoderFactory() const; 86 GetAudioDecoderFactory() const;
87
88 virtual void SetChannelOutputVolumeScaling(float scaling);
87 89
88 private: 90 private:
89 Channel* channel() const; 91 Channel* channel() const;
90 92
91 rtc::ThreadChecker thread_checker_; 93 rtc::ThreadChecker thread_checker_;
92 ChannelOwner channel_owner_; 94 ChannelOwner channel_owner_;
93 95
94 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy); 96 RTC_DISALLOW_COPY_AND_ASSIGN(ChannelProxy);
95 }; 97 };
96 } // namespace voe 98 } // namespace voe
97 } // namespace webrtc 99 } // namespace webrtc
98 100
99 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ 101 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698