Interface AUAudioUnitFactory

  • All Superinterfaces:
    NSExtensionRequestHandling

    public interface AUAudioUnitFactory
    extends NSExtensionRequestHandling
    Protocol to which principal classes of v3 audio units (extensions) must conform. The principal class of a non-UI v3 audio unit extension will generally derive from NSObject and implement this protocol. The principal class of a UI v3 audio unit extension must derive from AUViewController and implement this protocol.
    • Method Detail

      • createAudioUnitWithComponentDescriptionError

        AUAudioUnit createAudioUnitWithComponentDescriptionError​(AudioComponentDescription desc,
                                                                 org.moe.natj.general.ptr.Ptr<NSError> error)
        Create an instance of an extension's AUAudioUnit. This method should create and return an instance of its audio unit. This method will be called only once per instance of the factory. Note that in non-ARC code, "create" methods return unretained objects (unlike "create" C functions); the implementor should return an object with reference count 1 but autoreleased.