mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-03-21 01:50:53 +00:00
- avoid passing nullptr args to MIDI streamer
https://forum.zdoom.org/viewtopic.php?t=72161
This commit is contained in:
parent
e598ab7f1c
commit
0f1d954646
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ DLL_EXPORT zmusic_bool ZMusic_MIDIDumpWave(ZMusic_MidiSource source, EMidiDevice
|
|||
{
|
||||
try
|
||||
{
|
||||
MIDIStreamer me(devtype, devarg);
|
||||
MIDIStreamer me(devtype, devarg ? devarg : "");
|
||||
me.SetMIDISource(source);
|
||||
me.DumpWave(outname, subsong, samplerate);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue