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:
@@ -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
|
} // namespace webrtc
|
||||||
|
|||||||
@@ -948,20 +948,6 @@ class AudioCodingModule: public Module {
|
|||||||
AudioDecodingCallStats* call_stats) const = 0;
|
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
|
} // namespace webrtc
|
||||||
|
|
||||||
#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_
|
#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_INTERFACE_AUDIO_CODING_MODULE_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user