Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: talk/media/base/fakemediaengine.h

Issue 1413483003: Added option to specify a maximum file size when recording an AEC dump. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initial version Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698