| 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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 bool SetOutputVolume(int level) { | 809 bool SetOutputVolume(int level) { |
| 810 output_volume_ = level; | 810 output_volume_ = level; |
| 811 options_changed_ = true; | 811 options_changed_ = true; |
| 812 return true; | 812 return true; |
| 813 } | 813 } |
| 814 | 814 |
| 815 int GetInputLevel() { return 0; } | 815 int GetInputLevel() { return 0; } |
| 816 | 816 |
| 817 bool StartAecDump(rtc::PlatformFile file) { return false; } | 817 bool StartAecDump(rtc::PlatformFile file) { return false; } |
| 818 | 818 |
| 819 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } |
| 820 |
| 821 void StopRtcEventLog() {} |
| 822 |
| 819 private: | 823 private: |
| 820 std::vector<FakeVoiceMediaChannel*> channels_; | 824 std::vector<FakeVoiceMediaChannel*> channels_; |
| 821 std::vector<AudioCodec> codecs_; | 825 std::vector<AudioCodec> codecs_; |
| 822 int output_volume_; | 826 int output_volume_; |
| 823 std::string in_device_; | 827 std::string in_device_; |
| 824 std::string out_device_; | 828 std::string out_device_; |
| 825 AudioOptions options_; | 829 AudioOptions options_; |
| 826 | 830 |
| 827 friend class FakeMediaEngine; | 831 friend class FakeMediaEngine; |
| 828 }; | 832 }; |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 | 1014 |
| 1011 private: | 1015 private: |
| 1012 std::vector<FakeDataMediaChannel*> channels_; | 1016 std::vector<FakeDataMediaChannel*> channels_; |
| 1013 std::vector<DataCodec> data_codecs_; | 1017 std::vector<DataCodec> data_codecs_; |
| 1014 DataChannelType last_channel_type_; | 1018 DataChannelType last_channel_type_; |
| 1015 }; | 1019 }; |
| 1016 | 1020 |
| 1017 } // namespace cricket | 1021 } // namespace cricket |
| 1018 | 1022 |
| 1019 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 1023 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| OLD | NEW |