| OLD | NEW |
| 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 bool SetOutputVolume(int level) { | 818 bool SetOutputVolume(int level) { |
| 819 output_volume_ = level; | 819 output_volume_ = level; |
| 820 options_changed_ = true; | 820 options_changed_ = true; |
| 821 return true; | 821 return true; |
| 822 } | 822 } |
| 823 | 823 |
| 824 int GetInputLevel() { return 0; } | 824 int GetInputLevel() { return 0; } |
| 825 | 825 |
| 826 bool StartAecDump(rtc::PlatformFile file) { return false; } | 826 bool StartAecDump(rtc::PlatformFile file) { return false; } |
| 827 | 827 |
| 828 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } |
| 829 |
| 830 void StopRtcEventLog() {} |
| 831 |
| 828 private: | 832 private: |
| 829 std::vector<FakeVoiceMediaChannel*> channels_; | 833 std::vector<FakeVoiceMediaChannel*> channels_; |
| 830 std::vector<AudioCodec> codecs_; | 834 std::vector<AudioCodec> codecs_; |
| 831 int output_volume_; | 835 int output_volume_; |
| 832 std::string in_device_; | 836 std::string in_device_; |
| 833 std::string out_device_; | 837 std::string out_device_; |
| 834 AudioOptions options_; | 838 AudioOptions options_; |
| 835 | 839 |
| 836 friend class FakeMediaEngine; | 840 friend class FakeMediaEngine; |
| 837 }; | 841 }; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 | 1023 |
| 1020 private: | 1024 private: |
| 1021 std::vector<FakeDataMediaChannel*> channels_; | 1025 std::vector<FakeDataMediaChannel*> channels_; |
| 1022 std::vector<DataCodec> data_codecs_; | 1026 std::vector<DataCodec> data_codecs_; |
| 1023 DataChannelType last_channel_type_; | 1027 DataChannelType last_channel_type_; |
| 1024 }; | 1028 }; |
| 1025 | 1029 |
| 1026 } // namespace cricket | 1030 } // namespace cricket |
| 1027 | 1031 |
| 1028 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 1032 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| OLD | NEW |