Use std::istringstream or std::ostringstream instead of std::stringstream where possible.
This removes std::iostream from the inheritance chain, which reduces overhead slightly.
This commit is contained in:
1 parent
6e549bb668
commit
c2dd2e8a2e
14 files changed
+20
-20
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user