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

Unified Diff: talk/media/base/mediaengine.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/fakemediaprocessor.h ('k') | talk/media/base/videocapturer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/mediaengine.h
diff --git a/talk/media/base/mediaengine.h b/talk/media/base/mediaengine.h
index ad63eb9b6fe8e88d7ac4ad6a8480ed19705fb74b..68536ed56ff1d7cdf95a4e7888aa6fa08e82129e 100644
--- a/talk/media/base/mediaengine.h
+++ b/talk/media/base/mediaengine.h
@@ -129,14 +129,6 @@ class MediaEngineInterface {
// Starts AEC dump using existing file.
virtual bool StartAecDump(rtc::PlatformFile file) = 0;
-
- // Voice processors for effects.
- virtual bool RegisterVoiceProcessor(uint32 ssrc,
- VoiceProcessor* video_processor,
- MediaProcessorDirection direction) = 0;
- virtual bool UnregisterVoiceProcessor(uint32 ssrc,
- VoiceProcessor* video_processor,
- MediaProcessorDirection direction) = 0;
};
@@ -241,17 +233,6 @@ class CompositeMediaEngine : public MediaEngineInterface {
return voice_.StartAecDump(file);
}
- virtual bool RegisterVoiceProcessor(uint32 ssrc,
- VoiceProcessor* processor,
- MediaProcessorDirection direction) {
- return voice_.RegisterProcessor(ssrc, processor, direction);
- }
- virtual bool UnregisterVoiceProcessor(uint32 ssrc,
- VoiceProcessor* processor,
- MediaProcessorDirection direction) {
- return voice_.UnregisterProcessor(ssrc, processor, direction);
- }
-
protected:
VOICE voice_;
VIDEO video_;
@@ -286,12 +267,6 @@ class NullVoiceEngine {
}
void SetLogging(int min_sev, const char* filter) {}
bool StartAecDump(rtc::PlatformFile file) { return false; }
- bool RegisterProcessor(uint32 ssrc,
- VoiceProcessor* voice_processor,
- MediaProcessorDirection direction) { return true; }
- bool UnregisterProcessor(uint32 ssrc,
- VoiceProcessor* voice_processor,
- MediaProcessorDirection direction) { return true; }
private:
std::vector<AudioCodec> codecs_;
« no previous file with comments | « talk/media/base/fakemediaprocessor.h ('k') | talk/media/base/videocapturer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698