This commit is contained in:
Rachael Alexanderson 2017-05-28 10:50:06 -04:00
commit 61660bf147
2 changed files with 7 additions and 2 deletions

View file

@ -363,7 +363,12 @@ public:
void WildMidiSetOption(int opt, int set);
void CreateSMF(TArray<uint8_t> &file, int looplimit=0);
int ServiceEvent();
int GetDeviceType() const override { return MIDI->GetDeviceType(); }
int GetDeviceType() const override
{
return nullptr == MIDI
? MusInfo::GetDeviceType()
: MIDI->GetDeviceType();
}
protected:
MIDIStreamer(const char *dumpname, EMidiDevice type);