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

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: Added function to avoid breaking Chromium. Created 5 years 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
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698