Remove unnecessary overloads of AudioProcessing::CreateAndAttachAecDump()

Bug: webrtc:13579
Change-Id: I2e121b5fd30de4ac1813483f00a51184ff861760
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269623
Commit-Queue: Ali Tofigh <alito@webrtc.org>
Reviewed-by: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37723}
This commit is contained in:
Ali Tofigh
2022-08-09 09:21:17 +02:00
committed by WebRTC LUCI CQ
parent 7f0a7acb0a
commit 980ad0cd64
5 changed files with 13 additions and 15 deletions

View File

@ -628,13 +628,13 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface {
// implemented the absl::string_view version.
virtual bool CreateAndAttachAecDump(const std::string& file_name,
int64_t max_log_size_bytes,
rtc::TaskQueue* worker_queue) = 0;
rtc::TaskQueue* worker_queue) {
return CreateAndAttachAecDump(absl::string_view(file_name),
max_log_size_bytes, worker_queue);
}
virtual bool CreateAndAttachAecDump(absl::string_view file_name,
int64_t max_log_size_bytes,
rtc::TaskQueue* worker_queue) {
return CreateAndAttachAecDump(std::string(file_name), max_log_size_bytes,
worker_queue);
}
rtc::TaskQueue* worker_queue) = 0;
virtual bool CreateAndAttachAecDump(FILE* handle,
int64_t max_log_size_bytes,
rtc::TaskQueue* worker_queue) = 0;