| 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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 *level = output_volume_; | 755 *level = output_volume_; |
| 756 return true; | 756 return true; |
| 757 } | 757 } |
| 758 bool SetOutputVolume(int level) { | 758 bool SetOutputVolume(int level) { |
| 759 output_volume_ = level; | 759 output_volume_ = level; |
| 760 return true; | 760 return true; |
| 761 } | 761 } |
| 762 | 762 |
| 763 int GetInputLevel() { return 0; } | 763 int GetInputLevel() { return 0; } |
| 764 | 764 |
| 765 bool StartAecDump(rtc::PlatformFile file) { return false; } | 765 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) { |
| 766 return false; |
| 767 } |
| 766 | 768 |
| 767 void StopAecDump() {} | 769 void StopAecDump() {} |
| 768 | 770 |
| 769 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } | 771 bool StartRtcEventLog(rtc::PlatformFile file) { return false; } |
| 770 | 772 |
| 771 void StopRtcEventLog() {} | 773 void StopRtcEventLog() {} |
| 772 | 774 |
| 773 private: | 775 private: |
| 774 std::vector<FakeVoiceMediaChannel*> channels_; | 776 std::vector<FakeVoiceMediaChannel*> channels_; |
| 775 std::vector<AudioCodec> codecs_; | 777 std::vector<AudioCodec> codecs_; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 | 941 |
| 940 private: | 942 private: |
| 941 std::vector<FakeDataMediaChannel*> channels_; | 943 std::vector<FakeDataMediaChannel*> channels_; |
| 942 std::vector<DataCodec> data_codecs_; | 944 std::vector<DataCodec> data_codecs_; |
| 943 DataChannelType last_channel_type_; | 945 DataChannelType last_channel_type_; |
| 944 }; | 946 }; |
| 945 | 947 |
| 946 } // namespace cricket | 948 } // namespace cricket |
| 947 | 949 |
| 948 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 950 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| OLD | NEW |