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: talk/media/base/mediachannel.h

Issue 1331443003: Remove GetOutputScaling from VoiceMediaChannel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 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/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 // Get the current energy level of the stream sent to the speaker. 1106 // Get the current energy level of the stream sent to the speaker.
1107 virtual int GetOutputLevel() = 0; 1107 virtual int GetOutputLevel() = 0;
1108 // Get the time in milliseconds since last recorded keystroke, or negative. 1108 // Get the time in milliseconds since last recorded keystroke, or negative.
1109 virtual int GetTimeSinceLastTyping() = 0; 1109 virtual int GetTimeSinceLastTyping() = 0;
1110 // Temporarily exposed field for tuning typing detect options. 1110 // Temporarily exposed field for tuning typing detect options.
1111 virtual void SetTypingDetectionParameters(int time_window, 1111 virtual void SetTypingDetectionParameters(int time_window,
1112 int cost_per_typing, int reporting_threshold, int penalty_decay, 1112 int cost_per_typing, int reporting_threshold, int penalty_decay,
1113 int type_event_delay) = 0; 1113 int type_event_delay) = 0;
1114 // Set left and right scale for speaker output volume of the specified ssrc. 1114 // Set left and right scale for speaker output volume of the specified ssrc.
1115 virtual bool SetOutputScaling(uint32 ssrc, double left, double right) = 0; 1115 virtual bool SetOutputScaling(uint32 ssrc, double left, double right) = 0;
1116 // Get left and right scale for speaker output volume of the specified ssrc.
1117 virtual bool GetOutputScaling(uint32 ssrc, double* left, double* right) = 0;
1118 // Specifies a ringback tone to be played during call setup. 1116 // Specifies a ringback tone to be played during call setup.
1119 virtual bool SetRingbackTone(const char *buf, int len) = 0; 1117 virtual bool SetRingbackTone(const char *buf, int len) = 0;
1120 // Plays or stops the aforementioned ringback tone 1118 // Plays or stops the aforementioned ringback tone
1121 virtual bool PlayRingbackTone(uint32 ssrc, bool play, bool loop) = 0; 1119 virtual bool PlayRingbackTone(uint32 ssrc, bool play, bool loop) = 0;
1122 // Returns if the telephone-event has been negotiated. 1120 // Returns if the telephone-event has been negotiated.
1123 virtual bool CanInsertDtmf() { return false; } 1121 virtual bool CanInsertDtmf() { return false; }
1124 // Send and/or play a DTMF |event| according to the |flags|. 1122 // Send and/or play a DTMF |event| according to the |flags|.
1125 // The DTMF out-of-band signal will be used on sending. 1123 // The DTMF out-of-band signal will be used on sending.
1126 // The |ssrc| should be either 0 or a valid send stream ssrc. 1124 // The |ssrc| should be either 0 or a valid send stream ssrc.
1127 // The valid value for the |event| are 0 to 15 which corresponding to 1125 // The valid value for the |event| are 0 to 15 which corresponding to
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 // Signal when the media channel is ready to send the stream. Arguments are: 1360 // Signal when the media channel is ready to send the stream. Arguments are:
1363 // writable(bool) 1361 // writable(bool)
1364 sigslot::signal1<bool> SignalReadyToSend; 1362 sigslot::signal1<bool> SignalReadyToSend;
1365 // Signal for notifying that the remote side has closed the DataChannel. 1363 // Signal for notifying that the remote side has closed the DataChannel.
1366 sigslot::signal1<uint32> SignalStreamClosedRemotely; 1364 sigslot::signal1<uint32> SignalStreamClosedRemotely;
1367 }; 1365 };
1368 1366
1369 } // namespace cricket 1367 } // namespace cricket
1370 1368
1371 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1369 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698