Fix for sfizz_render MSVC
This commit is contained in:
parent
52b4f1b0a7
commit
c430a23b7c
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ int main(int argc, char** argv)
|
|||
LOG_INFO("-- Cutting the rendering at the last MIDI End of Track message");
|
||||
}
|
||||
|
||||
SndfileHandle outputFile (outputPath, SFM_WRITE, SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, sampleRate);
|
||||
SndfileHandle outputFile (outputPath.u8string(), SFM_WRITE, SF_FORMAT_WAV | SF_FORMAT_PCM_16, 2, sampleRate);
|
||||
ERROR_IF(outputFile.error() != 0, "Error writing out the wav file: " << outputFile.strError());
|
||||
|
||||
auto sampleRateDouble = static_cast<double>(sampleRate);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue