admsyn / ofxAudioUnit

An openFrameworks addon which makes it easy to work with Audio Units on OSX and iOS
MIT License
121 stars 24 forks source link

ofw 10.1 compatibility #36

Closed dimitre closed 5 years ago

dimitre commented 5 years ago

Hello, I've noticed it isn't working in OFW 10.1, and I could fix the first issues by adding this two lines to ofxAudioUnit.cpp

#include "ofFileUtils.h"
template<typename T> using ofPtr = shared_ptr<T>;

but now it seems to complay of ofPolyline

/Volumes/tool/of_v0.10.1_osx_release/libs/openFrameworks/graphics/ofGraphicsBaseTypes.h:42:7: Typedef redefinition with different types ('ofPolyline_<ofDefaultVertexType>' (aka 'ofPolyline_<tvec3<float, highp> >') vs 'ofPolyline')

it would be great to have it running on 10.1 Thank you

admsyn commented 5 years ago

hey @dimitre, give it a try now. Last two commits should fix it!

dimitre commented 5 years ago

beautiful! thank you very much