Delete deprecated CreateAudioEncoderFactory with unused field trials parameter
Field trials are passed during AudioEncoder construction through Environment parameter All known users were migrated to the same named function without parameters. Bug: webrtc:343086059 Change-Id: I79e2edae22ab43f98a386430da82b41d1c71e426 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358061 Auto-Submit: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Jakob Ivarsson <jakobi@webrtc.org> Commit-Queue: Jakob Ivarsson <jakobi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42693}
This commit is contained in:
parent
05309c5236
commit
cbb13bba86
@ -22,7 +22,6 @@
|
||||
#include "api/audio_codecs/audio_encoder_factory.h"
|
||||
#include "api/audio_codecs/audio_format.h"
|
||||
#include "api/environment/environment.h"
|
||||
#include "api/field_trials_view.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
|
||||
@ -193,13 +192,6 @@ rtc::scoped_refptr<AudioEncoderFactory> CreateAudioEncoderFactory() {
|
||||
audio_encoder_factory_template_impl::AudioEncoderFactoryT<Ts...>>();
|
||||
}
|
||||
|
||||
// TODO: bugs.webrtc.org/343086059 - Delete after 2024-07-24
|
||||
template <typename... Ts>
|
||||
[[deprecated]] rtc::scoped_refptr<AudioEncoderFactory>
|
||||
CreateAudioEncoderFactory(const FieldTrialsView*) {
|
||||
return CreateAudioEncoderFactory<Ts...>();
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // API_AUDIO_CODECS_AUDIO_ENCODER_FACTORY_TEMPLATE_H_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user