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:
parent
0bc9b5a5a7
commit
fdf2053787
webrtc/modules/audio_coding/main
@ -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
|
||||
|
@ -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_
|
||||
|
Loading…
Reference in New Issue
Block a user