| 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 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 } | 829 } |
| 830 | 830 |
| 831 bool SetOutputVolume(int level) { | 831 bool SetOutputVolume(int level) { |
| 832 output_volume_ = level; | 832 output_volume_ = level; |
| 833 options_changed_ = true; | 833 options_changed_ = true; |
| 834 return true; | 834 return true; |
| 835 } | 835 } |
| 836 | 836 |
| 837 int GetInputLevel() { return 0; } | 837 int GetInputLevel() { return 0; } |
| 838 | 838 |
| 839 bool SetLocalMonitor(bool enable) { return true; } | |
| 840 | |
| 841 bool StartAecDump(rtc::PlatformFile file) { return false; } | 839 bool StartAecDump(rtc::PlatformFile file) { return false; } |
| 842 | 840 |
| 843 bool RegisterProcessor(uint32 ssrc, VoiceProcessor* voice_processor, | 841 bool RegisterProcessor(uint32 ssrc, VoiceProcessor* voice_processor, |
| 844 MediaProcessorDirection direction) { | 842 MediaProcessorDirection direction) { |
| 845 if (direction == MPD_RX) { | 843 if (direction == MPD_RX) { |
| 846 rx_processor_ = voice_processor; | 844 rx_processor_ = voice_processor; |
| 847 return true; | 845 return true; |
| 848 } else if (direction == MPD_TX) { | 846 } else if (direction == MPD_TX) { |
| 849 tx_processor_ = voice_processor; | 847 tx_processor_ = voice_processor; |
| 850 return true; | 848 return true; |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 | 1071 |
| 1074 private: | 1072 private: |
| 1075 std::vector<FakeDataMediaChannel*> channels_; | 1073 std::vector<FakeDataMediaChannel*> channels_; |
| 1076 std::vector<DataCodec> data_codecs_; | 1074 std::vector<DataCodec> data_codecs_; |
| 1077 DataChannelType last_channel_type_; | 1075 DataChannelType last_channel_type_; |
| 1078 }; | 1076 }; |
| 1079 | 1077 |
| 1080 } // namespace cricket | 1078 } // namespace cricket |
| 1081 | 1079 |
| 1082 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ | 1080 #endif // TALK_MEDIA_BASE_FAKEMEDIAENGINE_H_ |
| OLD | NEW |