mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-27 06:02:28 +00:00
- open MIDI wave output as binary file
https://forum.zdoom.org/viewtopic.php?t=72161
This commit is contained in:
parent
e79fdcef2c
commit
0c2ac8cbf3
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ struct FmtChunk
|
|||
MIDIWaveWriter::MIDIWaveWriter(const char *filename, SoftSynthMIDIDevice *playdevice)
|
||||
: SoftSynthMIDIDevice(playdevice->GetSampleRate())
|
||||
{
|
||||
File = MusicIO::utf8_fopen(filename, "wt");
|
||||
File = MusicIO::utf8_fopen(filename, "wb");
|
||||
playDevice = playdevice;
|
||||
if (File != nullptr)
|
||||
{ // Write wave header
|
||||
|
|
Loading…
Reference in a new issue