Skip to content

Commit

Permalink
- disable music playback if WinMM stream cannot be opened
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 14, 2018
1 parent 74ec789 commit 4a83f4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sound/mididevices/music_win_mididevice.cpp
Expand Up @@ -198,6 +198,10 @@ int WinMIDIDevice::Open(MidiCallback callback, void *userdata)
}
}
}
else
{
return 1;
}
}
return 0;
}
Expand Down

0 comments on commit 4a83f4d

Please sign in to comment.