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

Unified Diff: talk/session/media/channelmanager.h

Issue 1364093002: Remove SetAudioDelayOffset() and friends. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@lj_remove_getcapabilities
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine.cc ('k') | talk/session/media/channelmanager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channelmanager.h
diff --git a/talk/session/media/channelmanager.h b/talk/session/media/channelmanager.h
index 8545cdcb61ed11d97cb05e951e6b7c6dbfc6f039..e0a0fb2a704a41875d08415d70a59835e84054d3 100644
--- a/talk/session/media/channelmanager.h
+++ b/talk/session/media/channelmanager.h
@@ -45,8 +45,6 @@ class MediaControllerInterface;
}
namespace cricket {
-const int kDefaultAudioDelayOffset = 0;
-
class VoiceChannel;
// ChannelManager allows the MediaEngine to run on a separate thread, and takes
@@ -178,8 +176,7 @@ class ChannelManager : public rtc::MessageHandler,
protected:
// Adds non-transient parameters which can only be changed through the
// options store.
- bool SetAudioOptions(const AudioOptions& options, int delay_offset);
- int audio_delay_offset() const { return audio_delay_offset_; }
+ bool SetAudioOptions(const AudioOptions& options);
private:
typedef std::vector<VoiceChannel*> VoiceChannels;
@@ -212,7 +209,7 @@ class ChannelManager : public rtc::MessageHandler,
bool rtcp,
DataChannelType data_channel_type);
void DestroyDataChannel_w(DataChannel* data_channel);
- bool SetAudioOptions_w(const AudioOptions& options, int delay_offset,
+ bool SetAudioOptions_w(const AudioOptions& options,
const Device* in_dev, const Device* out_dev);
void OnVideoCaptureStateChange(VideoCapturer* capturer,
CaptureState result);
@@ -234,7 +231,6 @@ class ChannelManager : public rtc::MessageHandler,
DataChannels data_channels_;
AudioOptions audio_options_;
- int audio_delay_offset_;
int audio_output_volume_;
VideoEncoderConfig default_video_encoder_config_;
VideoRenderer* local_renderer_;
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine.cc ('k') | talk/session/media/channelmanager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698