Merge pull request #2717 from devnexen/master
adding missing sndio Midi name setting.
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#include "MidiAlsaRaw.h"
|
||||
#include "MidiAlsaSeq.h"
|
||||
#include "MidiOss.h"
|
||||
#include "MidiSndio.h"
|
||||
#include "MidiWinMM.h"
|
||||
#include "MidiApple.h"
|
||||
#include "MidiDummy.h"
|
||||
@@ -919,6 +920,19 @@ MidiClient * Mixer::tryMidiClients()
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_HAVE_SNDIO
|
||||
if( client_name == MidiSndio::name() || client_name == "" )
|
||||
{
|
||||
MidiSndio * msndio = new MidiSndio;
|
||||
if( msndio->isRunning() )
|
||||
{
|
||||
m_midiClientName = MidiSndio::name();
|
||||
return msndio;
|
||||
}
|
||||
delete msndio;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
if( client_name == MidiWinMM::name() || client_name == "" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user