mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
not sure what would have broken this but... adding required windows dependencies for MIDI to operate
This commit is contained in:
parent
bc6eaf25dc
commit
742fa225f2
2 changed files with 6 additions and 3 deletions
|
@ -2,3 +2,7 @@ set(TARGET_NAME midi)
|
|||
setup_hifi_library(Network)
|
||||
link_hifi_libraries(shared networking)
|
||||
include_hifi_library_headers(script-engine)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(${TARGET_NAME} winmm.lib)
|
||||
endif ()
|
||||
|
|
|
@ -19,10 +19,9 @@
|
|||
#include <ScriptManager.h>
|
||||
|
||||
#if defined Q_OS_WIN32
|
||||
#include "Windows.h"
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#include <mmeapi.h>
|
||||
|
||||
#if defined Q_OS_WIN32
|
||||
const int MIDI_BYTE_MASK = 0x0FF;
|
||||
const int MIDI_NIBBLE_MASK = 0x00F;
|
||||
const int MIDI_PITCH_BEND_MASK = 0x3F80;
|
||||
|
|
Loading…
Reference in a new issue