summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/WaveFile.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2019-12-30 10:59:14 +0100
committerGitHub <noreply@github.com>2019-12-30 10:59:14 +0100
commit7a6a4510f6eed48652200f8c83e79723ae3581f2 (patch)
tree6abb193c5bb8ef35b627d023648b18a11a16eddc /Source/Core/AudioCommon/WaveFile.cpp
parent084344aa5d9a39fc05cfe952005e530766c3c29c (diff)
parent11339d77c6835dd908b86a92412686c46435e006 (diff)
Merge pull request #8362 from GerbilSoft/feature/string-optimizations.2019-09-11
Various string and other optimizations
Diffstat (limited to 'Source/Core/AudioCommon/WaveFile.cpp')
-rw-r--r--Source/Core/AudioCommon/WaveFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/WaveFile.cpp b/Source/Core/AudioCommon/WaveFile.cpp
index 42ca8cd3b3..70cdc5aee9 100644
--- a/Source/Core/AudioCommon/WaveFile.cpp
+++ b/Source/Core/AudioCommon/WaveFile.cpp
@@ -147,7 +147,7 @@ void WaveFileWriter::AddStereoSamplesBE(const short* sample_data, u32 count, int
{
Stop();
file_index++;
- std::stringstream filename;
+ std::ostringstream filename;
filename << File::GetUserPath(D_DUMPAUDIO_IDX) << basename << file_index << ".wav";
Start(filename.str(), sample_rate);
current_sample_rate = sample_rate;