Zebediah Figura (@zfigura) commented about include/hrtfapoapi.idl:
- HrtfDirectivity *directivity;
+} HrtfApoInit;
+cpp_quote("STDAPI CreateHrtfApo(const HrtfApoInit *init, IXAPO **xapo);")
+[
- object,
- uuid(15b3cd66-e9de-4464-b6e6-2bc3cf63d455),
- pointer_default(unique)
+] +interface IXAPOHrtfParameters : IUnknown +{
- HRESULT SetSourcePosition([in] const HrtfPosition *position);
- HRESULT SetSourceOrientation([in] const HrtfOrientation *orientation);
- HRESULT SetSourceGain([in] float gain);
- HRESULT SetEnvironment([in] HrtfEnvironment environment);
You don't need these [in] attributes; they only matter for remoting.