Class AudioComponentInstantiationOptions


  • public final class AudioComponentInstantiationOptions
    extends java.lang.Object
    [@enum] AudioComponentInstantiationOptions Options controlling component instantiation. Most component instances are loaded into the calling process. A version 3 audio unit, however, can be loaded into a separate extension service process, and this is the default behavior for these components. To be able to load one in-process requires that the developer package the audio unit in a bundle separate from the application extension, since an extension's main binary cannot be dynamically loaded into another process. A macOS host may request in-process loading of such audio units using kAudioComponentInstantiation_LoadInProcess. kAudioComponentFlag_IsV3AudioUnit specifies whether an audio unit is implemented using API version 3. These options are just requests to the implementation. It may fail and fall back to the default. [@constant] kAudioComponentInstantiation_LoadOutOfProcess Attempt to load the component into a separate extension process. [@constant] kAudioComponentInstantiation_LoadInProcess Attempt to load the component into the current process. Only available on macOS.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • kAudioComponentInstantiation_LoadOutOfProcess

        public static final int kAudioComponentInstantiation_LoadOutOfProcess
        See Also:
        Constant Field Values