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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 bool SetOutputVolume(int level) { | 778 bool SetOutputVolume(int level) { |
779 output_volume_ = level; | 779 output_volume_ = level; |
780 options_changed_ = true; | 780 options_changed_ = true; |
781 return true; | 781 return true; |
782 } | 782 } |
783 | 783 |
784 int GetInputLevel() { return 0; } | 784 int GetInputLevel() { return 0; } |
785 | 785 |
786 bool StartAecDump(rtc::PlatformFile file) { return false; } | 786 bool StartAecDump(rtc::PlatformFile file) { return false; } |
787 | 787 |
| 788 bool StartAecDump(rtc::PlatformFile file, int max_size_bytes) { |
| 789 return false; |
| 790 } |
| 791 |
788 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } | 792 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } |
789 | 793 |
790 void StopRtcEventLog() {} | 794 void StopRtcEventLog() {} |
791 | 795 |
792 private: | 796 private: |
793 std::vector<FakeVoiceMediaChannel*> channels_; | 797 std::vector<FakeVoiceMediaChannel*> channels_; |
794 std::vector<AudioCodec> codecs_; | 798 std::vector<AudioCodec> codecs_; |
795 int output_volume_; | 799 int output_volume_; |
796 std::string in_device_; | 800 std::string in_device_; |
797 std::string out_device_; | 801 std::string out_device_; |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 | 987 |
984 private: | 988 private: |
985 std::vector<FakeDataMediaChannel*> channels_; | 989 std::vector<FakeDataMediaChannel*> channels_; |
986 std::vector<DataCodec> data_codecs_; | 990 std::vector<DataCodec> data_codecs_; |
987 DataChannelType last_channel_type_; | 991 DataChannelType last_channel_type_; |
988 }; | 992 }; |
989 | 993 |
990 } // namespace cricket | 994 } // namespace cricket |
991 | 995 |
992 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 996 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
OLD | NEW |