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

Side by Side Diff: talk/media/webrtc/webrtcvoiceengine.h

Issue 1397773002: Change SetOutputScaling to set a single level, not left/right levels. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+rename Created 5 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 unified diff | Download patch
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 bool RemoveRecvStream(uint32_t ssrc) override; 202 bool RemoveRecvStream(uint32_t ssrc) override;
203 bool SetRemoteRenderer(uint32_t ssrc, AudioRenderer* renderer) override; 203 bool SetRemoteRenderer(uint32_t ssrc, AudioRenderer* renderer) override;
204 bool GetActiveStreams(AudioInfo::StreamList* actives) override; 204 bool GetActiveStreams(AudioInfo::StreamList* actives) override;
205 int GetOutputLevel() override; 205 int GetOutputLevel() override;
206 int GetTimeSinceLastTyping() override; 206 int GetTimeSinceLastTyping() override;
207 void SetTypingDetectionParameters(int time_window, 207 void SetTypingDetectionParameters(int time_window,
208 int cost_per_typing, 208 int cost_per_typing,
209 int reporting_threshold, 209 int reporting_threshold,
210 int penalty_decay, 210 int penalty_decay,
211 int type_event_delay) override; 211 int type_event_delay) override;
212 bool SetOutputScaling(uint32_t ssrc, double left, double right) override; 212 bool SetOutputVolume(uint32_t ssrc, double volume) override;
213 213
214 bool CanInsertDtmf() override; 214 bool CanInsertDtmf() override;
215 bool InsertDtmf(uint32_t ssrc, int event, int duration, int flags) override; 215 bool InsertDtmf(uint32_t ssrc, int event, int duration, int flags) override;
216 216
217 void OnPacketReceived(rtc::Buffer* packet, 217 void OnPacketReceived(rtc::Buffer* packet,
218 const rtc::PacketTime& packet_time) override; 218 const rtc::PacketTime& packet_time) override;
219 void OnRtcpReceived(rtc::Buffer* packet, 219 void OnRtcpReceived(rtc::Buffer* packet,
220 const rtc::PacketTime& packet_time) override; 220 const rtc::PacketTime& packet_time) override;
221 void OnReadyToSend(bool ready) override {} 221 void OnReadyToSend(bool ready) override {}
222 bool GetStats(VoiceMediaInfo* info) override; 222 bool GetStats(VoiceMediaInfo* info) override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 344 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
345 345
346 // Do not lock this on the VoE media processor thread; potential for deadlock 346 // Do not lock this on the VoE media processor thread; potential for deadlock
347 // exists. 347 // exists.
348 mutable rtc::CriticalSection receive_channels_cs_; 348 mutable rtc::CriticalSection receive_channels_cs_;
349 }; 349 };
350 350
351 } // namespace cricket 351 } // namespace cricket
352 352
353 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_ 353 #endif // TALK_MEDIA_WEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698