finally made WinMM MIDI driver work properly by fixing internal data structures
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1591 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -118,7 +118,7 @@ public:
|
||||
} ;
|
||||
|
||||
|
||||
private slots:
|
||||
private:// slots:
|
||||
void updateDeviceList( void );
|
||||
|
||||
|
||||
@@ -127,19 +127,12 @@ private:
|
||||
void closeDevices( void );
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
static DWORD WINAPI midiThreadProc( midiWinMM * _midi );
|
||||
DWORD threadProc( void );
|
||||
|
||||
static void CALLBACK inputCallback( HMIDIIN _hm, UINT _msg,
|
||||
static void WINAPI CALLBACK inputCallback( HMIDIIN _hm, UINT _msg,
|
||||
DWORD_PTR _inst,
|
||||
DWORD_PTR _param1,
|
||||
DWORD_PTR _param2 );
|
||||
void handleInputEvent( HMIDIIN _hm, DWORD _ev );
|
||||
|
||||
HANDLE m_threadHandle;
|
||||
DWORD m_threadId;
|
||||
volatile bool m_isRunning;
|
||||
|
||||
QMap<HMIDIIN, QString> m_inputDevices;
|
||||
QMap<HMIDIOUT, QString> m_outputDevices;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user