Remove AudioCodingModuleFactory

These were no longer used anywhere in the code.

BUG=2996
TBR=turaj@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/21379004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6007 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org 2014-04-29 08:22:14 +00:00
parent 0bc9b5a5a7
commit fdf2053787
2 changed files with 0 additions and 25 deletions

View File

@ -98,15 +98,4 @@ bool AudioCodingModule::IsCodecValid(const CodecInst& codec) {
}
}
AudioCodingModule* AudioCodingModuleFactory::Create(int id) const {
return new acm1::AudioCodingModuleImpl(static_cast<int32_t>(id),
Clock::GetRealTimeClock());
}
AudioCodingModule* NewAudioCodingModuleFactory::Create(int id) const {
AudioCodingModule::Config config;
config.id = id;
return new acm2::AudioCodingModuleImpl(config);
}
} // namespace webrtc

View File

@ -948,20 +948,6 @@ class AudioCodingModule: public Module {
AudioDecodingCallStats* call_stats) const = 0;
};
struct AudioCodingModuleFactory {
AudioCodingModuleFactory() {}
virtual ~AudioCodingModuleFactory() {}
virtual AudioCodingModule* Create(int id) const;
};
struct NewAudioCodingModuleFactory : AudioCodingModuleFactory {
NewAudioCodingModuleFactory() {}
virtual ~NewAudioCodingModuleFactory() {}
virtual AudioCodingModule* Create(int id) const;
};
} // namespace webrtc
#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_