| Index: talk/media/base/fakemediaengine.h
|
| diff --git a/talk/media/base/fakemediaengine.h b/talk/media/base/fakemediaengine.h
|
| index 49efe0fb52610488937e1e96979407a1b43a55ca..5fb65fa6f5bf18ef7fc36933a307253ea01fcac4 100644
|
| --- a/talk/media/base/fakemediaengine.h
|
| +++ b/talk/media/base/fakemediaengine.h
|
| @@ -770,8 +770,7 @@ class FakeBaseEngine {
|
| class FakeVoiceEngine : public FakeBaseEngine {
|
| public:
|
| FakeVoiceEngine()
|
| - : output_volume_(-1),
|
| - delay_offset_(0) {
|
| + : output_volume_(-1) {
|
| // Add a fake audio codec. Note that the name must not be "" as there are
|
| // sanity checks against that.
|
| codecs_.push_back(AudioCodec(101, "fake_audio_codec", 0, 0, 1, 0));
|
| @@ -808,11 +807,6 @@ class FakeVoiceEngine : public FakeBaseEngine {
|
| const std::vector<AudioCodec>& codecs() { return codecs_; }
|
| void SetCodecs(const std::vector<AudioCodec> codecs) { codecs_ = codecs; }
|
|
|
| - bool SetDelayOffset(int offset) {
|
| - delay_offset_ = offset;
|
| - return true;
|
| - }
|
| -
|
| bool SetDevices(const Device* in_device, const Device* out_device) {
|
| in_device_ = (in_device) ? in_device->name : "";
|
| out_device_ = (out_device) ? out_device->name : "";
|
| @@ -839,7 +833,6 @@ class FakeVoiceEngine : public FakeBaseEngine {
|
| std::vector<FakeVoiceMediaChannel*> channels_;
|
| std::vector<AudioCodec> codecs_;
|
| int output_volume_;
|
| - int delay_offset_;
|
| std::string in_device_;
|
| std::string out_device_;
|
| AudioOptions options_;
|
| @@ -950,7 +943,6 @@ class FakeMediaEngine :
|
| }
|
|
|
| AudioOptions audio_options() const { return voice_.options_; }
|
| - int audio_delay_offset() const { return voice_.delay_offset_; }
|
| int output_volume() const { return voice_.output_volume_; }
|
| const VideoEncoderConfig& default_video_encoder_config() const {
|
| return video_.default_encoder_config_;
|
|
|