fix ios issues
This commit is contained in:
parent
6695731d09
commit
50118f66a4
@ -36,7 +36,7 @@ BUILD_DATA_DIR := build/gen/res
|
|||||||
-include $(MKINC_DIR)/vars-pre.mk
|
-include $(MKINC_DIR)/vars-pre.mk
|
||||||
|
|
||||||
CFLAGS := -O3 -Wall -Wpedantic -Wextra
|
CFLAGS := -O3 -Wall -Wpedantic -Wextra
|
||||||
CFLAGS_ALL := -I$(DATA_DIR)/src -I$(PLUGIN_DIR) -I$(API_DIR) -fvisiblity=hidden $(CFLAGS_EXTRA) $(CFLAGS)
|
CFLAGS_ALL := -I$(DATA_DIR)/src -I$(PLUGIN_DIR) -I$(API_DIR) -fvisibility=hidden $(CFLAGS_EXTRA) $(CFLAGS)
|
||||||
|
|
||||||
CXXFLAGS := $(CFLAGS)
|
CXXFLAGS := $(CFLAGS)
|
||||||
CXXFLAGS_ALL := -I$(DATA_DIR)/src -I$(PLUGIN_DIR) -I$(API_DIR) -fvisibility=hidden $(CXXFLAGS_EXTRA) $(CXXFLAGS)
|
CXXFLAGS_ALL := -I$(DATA_DIR)/src -I$(PLUGIN_DIR) -I$(API_DIR) -fvisibility=hidden $(CXXFLAGS_EXTRA) $(CXXFLAGS)
|
||||||
|
@ -164,6 +164,7 @@ void (^midiNotifyBlock)(const MIDINotification *message) = ^(const MIDINotificat
|
|||||||
};
|
};
|
||||||
|
|
||||||
void (^midiReceiveBlock)(const MIDIEventList *evtlist, void *srcConnRefCon) = ^(const MIDIEventList *evtlist, void *srcConnRefCon) {
|
void (^midiReceiveBlock)(const MIDIEventList *evtlist, void *srcConnRefCon) = ^(const MIDIEventList *evtlist, void *srcConnRefCon) {
|
||||||
|
(void)srcConnRefCon;
|
||||||
const MIDIEventPacket *p = evtlist->packet;
|
const MIDIEventPacket *p = evtlist->packet;
|
||||||
for (UInt32 i = 0; i < evtlist->numPackets; i++) {
|
for (UInt32 i = 0; i < evtlist->numPackets; i++) {
|
||||||
for (UInt32 j = 0; j < p->wordCount; j++) {
|
for (UInt32 j = 0; j < p->wordCount; j++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user