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