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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 } | 776 } |
777 | 777 |
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, int64_t max_size_bytes) { |
| 787 return false; |
| 788 } |
787 | 789 |
788 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } | 790 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } |
789 | 791 |
790 void StopRtcEventLog() {} | 792 void StopRtcEventLog() {} |
791 | 793 |
792 private: | 794 private: |
793 std::vector<FakeVoiceMediaChannel*> channels_; | 795 std::vector<FakeVoiceMediaChannel*> channels_; |
794 std::vector<AudioCodec> codecs_; | 796 std::vector<AudioCodec> codecs_; |
795 int output_volume_; | 797 int output_volume_; |
796 std::string in_device_; | 798 std::string in_device_; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 | 985 |
984 private: | 986 private: |
985 std::vector<FakeDataMediaChannel*> channels_; | 987 std::vector<FakeDataMediaChannel*> channels_; |
986 std::vector<DataCodec> data_codecs_; | 988 std::vector<DataCodec> data_codecs_; |
987 DataChannelType last_channel_type_; | 989 DataChannelType last_channel_type_; |
988 }; | 990 }; |
989 | 991 |
990 } // namespace cricket | 992 } // namespace cricket |
991 | 993 |
992 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 994 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
OLD | NEW |