2016-05-26 16:06:52 +03:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
#if !XAMCORE_2_0
|
|
|
|
#if MONOMAC
|
|
|
|
using MonoMac.Foundation;
|
|
|
|
#else
|
2017-02-22 18:47:11 +03:00
|
|
|
using Foundation;
|
2016-05-26 16:06:52 +03:00
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
using Foundation;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
namespace AudioUnit {
|
|
|
|
[BaseType (typeof(NSObject))]
|
|
|
|
interface AUParameterNode
|
|
|
|
{
|
|
|
|
[Export ("tokenByAddingParameterRecordingObserver:")]
|
|
|
|
IntPtr TokenByAddingParameterRecordingObserver (AUParameterRecordingObserver observer);
|
|
|
|
}
|
|
|
|
|
|
|
|
public unsafe delegate void AUParameterRecordingObserver (int arg0, AURecordedParameterEvent arg1);
|
|
|
|
|
|
|
|
// Commenting this out "fixes" the problem
|
|
|
|
[BaseType (typeof(NSObject))]
|
|
|
|
interface AudioUnit
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|