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

Unified Diff: talk/media/base/fakemediaprocessor.h

Issue 1361633002: Remove the [Un]RegisterVoiceProcessor() API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/fakemediaprocessor.h
diff --git a/talk/media/base/fakemediaprocessor.h b/talk/media/base/fakemediaprocessor.h
index 0100b7b6d2ab5d4213e77cc3a6807920ad090407..8de2678c957d1e5becab67ddc5548f56dee68b5d 100644
--- a/talk/media/base/fakemediaprocessor.h
+++ b/talk/media/base/fakemediaprocessor.h
@@ -25,37 +25,5 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TALK_MEDIA_BASE_FAKEMEDIAPROCESSOR_H_
-#define TALK_MEDIA_BASE_FAKEMEDIAPROCESSOR_H_
-
-#include "talk/media/base/voiceprocessor.h"
-
-namespace cricket {
-
-class AudioFrame;
-
-class FakeMediaProcessor : public VoiceProcessor {
- public:
- FakeMediaProcessor()
- : voice_frame_count_(0) {
- }
- virtual ~FakeMediaProcessor() {}
-
- virtual void OnFrame(uint32 ssrc,
- MediaProcessorDirection direction,
- AudioFrame* frame) {
- ++voice_frame_count_;
- }
- virtual void OnVoiceMute(uint32 ssrc, bool muted) {}
- virtual void OnVideoMute(uint32 ssrc, bool muted) {}
-
- int voice_frame_count() const { return voice_frame_count_; }
-
- private:
- // TODO(janahan): make is a map so that we can multiple ssrcs
- int voice_frame_count_;
-};
-
-} // namespace cricket
-
-#endif // TALK_MEDIA_BASE_FAKEMEDIAPROCESSOR_H_
+// TODO(solenberg): Remove this file once Chromium's libjingle.gyp/.gn are
+// updated.
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/base/mediaengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698