madronalabs / soundplane

Client software for the Madrona Labs Soundplane.
32 stars 11 forks source link

fix compile issues - arm #39

Open TheTechnobear opened 3 years ago

TheTechnobear commented 3 years ago

fixes issues when trying to build on latest xcode and madronalib

a) Point ->juce::Point b) MLScalarMath.h -> MLDSPScalarMath.h" c) no mlTimers:theTimers

for (c) I assume the idea is SoundplaneApp should now create a timers object, then call start on it please review my change in SoundplaneApp.h/cpp for this, as it was a little unclear to me new behaviour of MLTimers

However, whilst this compiles the UI is still not 'correct', its not updating correctly perhaps mlTimers is wrong? (but I am seeing callbacks) though Im also seeing alot of the folllowing warnings...

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:5:2: warning: gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality. [-W#warnings]

warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality.

note: the ui is just refreshing, it seems to be functioning.

if I set midi active, and use a midi monitor ... the midi messages are looking garbled. (Ive not checked osc yet)

TheTechnobear commented 3 years ago

ok, Ive fixed the issue with the UI... it was ml::timer... I found an example of usage in madronalabs/tests which pointed me in correct direction. btw: your examples in madronab/examples/timer is out of date ;)

TheTechnobear commented 3 years ago

current status: