mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 14:07:38 +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)
|
setup_hifi_library(Network)
|
||||||
link_hifi_libraries(shared networking)
|
link_hifi_libraries(shared networking)
|
||||||
include_hifi_library_headers(script-engine)
|
include_hifi_library_headers(script-engine)
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
target_link_libraries(${TARGET_NAME} winmm.lib)
|
||||||
|
endif ()
|
||||||
|
|
|
@ -19,10 +19,9 @@
|
||||||
#include <ScriptManager.h>
|
#include <ScriptManager.h>
|
||||||
|
|
||||||
#if defined Q_OS_WIN32
|
#if defined Q_OS_WIN32
|
||||||
#include "Windows.h"
|
#include <Windows.h>
|
||||||
#endif
|
#include <mmeapi.h>
|
||||||
|
|
||||||
#if defined Q_OS_WIN32
|
|
||||||
const int MIDI_BYTE_MASK = 0x0FF;
|
const int MIDI_BYTE_MASK = 0x0FF;
|
||||||
const int MIDI_NIBBLE_MASK = 0x00F;
|
const int MIDI_NIBBLE_MASK = 0x00F;
|
||||||
const int MIDI_PITCH_BEND_MASK = 0x3F80;
|
const int MIDI_PITCH_BEND_MASK = 0x3F80;
|
||||||
|
|
Loading…
Reference in a new issue