mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Remove stringstream usages from the APM
Bug: webrtc:8982 Change-Id: Icdbf7ec8d12a40efba9859f5fdf9953683e603c1 Reviewed-on: https://webrtc-review.googlesource.com/67060 Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Alex Loiko <aleloi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22771}
This commit is contained in:
parent
d93d01ef63
commit
18f151a582
2 changed files with 3 additions and 5 deletions
|
@ -9,8 +9,6 @@
|
|||
*/
|
||||
#include "modules/audio_processing/aec3/echo_canceller3.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "modules/audio_processing/logging/apm_data_dumper.h"
|
||||
#include "rtc_base/atomicops.h"
|
||||
#include "rtc_base/logging.h"
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
|
||||
#include "modules/audio_processing/logging/apm_data_dumper.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "rtc_base/strings/string_builder.h"
|
||||
#include "rtc_base/stringutils.h"
|
||||
|
||||
// Check to verify that the define is properly set.
|
||||
|
@ -29,7 +28,8 @@ std::string FormFileName(const char* name,
|
|||
int instance_index,
|
||||
int reinit_index,
|
||||
const std::string& suffix) {
|
||||
std::stringstream ss;
|
||||
char buf[1024];
|
||||
rtc::SimpleStringBuilder ss(buf);
|
||||
ss << name << "_" << instance_index << "-" << reinit_index << suffix;
|
||||
return ss.str();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue