X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fcaimportable.h;h=441008f521282a6903c6961da1c81f71bdbac5e3;hb=fa73112f081ee38bc5c9752f900c9c5dccb68141;hp=211329b8c649921615c64759f8b417118f6b5f71;hpb=5399425f534e2d96d07cf29f427bfa0f39d904b7;p=ardour.git diff --git a/libs/ardour/ardour/caimportable.h b/libs/ardour/ardour/caimportable.h index 211329b8c6..441008f521 100644 --- a/libs/ardour/ardour/caimportable.h +++ b/libs/ardour/ardour/caimportable.h @@ -25,7 +25,11 @@ #include "ardour/types.h" #include "ardour/importable_source.h" -#include +#ifdef COREAUDIO105 +#include "CAAudioFile.h" +#else +#include "CAExtAudioFile.h" +#endif namespace ARDOUR { @@ -43,7 +47,11 @@ class LIBARDOUR_API CAImportableSource : public ImportableSource { bool clamped_at_unity () const { return false; } protected: +#ifdef COREAUDIO105 mutable CAAudioFile af; +#else + mutable CAExtAudioFile af; +#endif }; }