Package org.robovm.apple.audiotoolbox
Class AUAudioUnit
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.audiotoolbox.AUAudioUnit
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
- Direct Known Subclasses:
AUAudioUnitV2Bridge
public class AUAudioUnit extends NSObject
- Since:
- Available in iOS 9.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAUAudioUnit.AUAudioUnitPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedAUAudioUnit()AUAudioUnit(AudioComponentDescription componentDescription)AUAudioUnit(AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options)protectedAUAudioUnit(NSObject.Handle h, long handle)protectedAUAudioUnit(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
AUAudioUnit
protected AUAudioUnit() -
AUAudioUnit
-
AUAudioUnit
-
AUAudioUnit
public AUAudioUnit(AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options) throws NSErrorException- Throws:
NSErrorException
-
AUAudioUnit
- Throws:
NSErrorException
-
-
Method Details
-
getComponentDescription
-
getComponent
-
getComponentName
-
getAudioUnitName
-
getManufacturerName
-
getAudioUnitShortName
- Since:
- Available in iOS 11.0 and later.
-
getComponentVersion
public int getComponentVersion() -
isRenderResourcesAllocated
public boolean isRenderResourcesAllocated() -
getInputBusses
-
getOutputBusses
-
getRenderBlock
public Block6<IntPtr,AudioTimeStamp,Integer,Long,AudioBufferList,Block5<IntPtr,AudioTimeStamp,Integer,Long,AudioBufferList,OSStatus>,OSStatus> getRenderBlock() -
getScheduleParameterBlock
-
getMaximumFramesToRender
public int getMaximumFramesToRender() -
setMaximumFramesToRender
public void setMaximumFramesToRender(int v) -
getParameterTree
-
setParameterTree
-
isAllParameterValues
public boolean isAllParameterValues() -
isMusicDeviceOrEffect
public boolean isMusicDeviceOrEffect() -
getVirtualMIDICableCount
public long getVirtualMIDICableCount() -
getScheduleMIDIEventBlock
-
getScheduleMIDIEventListBlock
- Since:
- Available in iOS 15.0 and later.
-
getMIDIOutputNames
- Since:
- Available in iOS 11.0 and later.
-
providesUserInterface
public boolean providesUserInterface()- Since:
- Available in iOS 11.0 and later.
-
getMIDIOutputEventBlock
- Since:
- Available in iOS 11.0 and later.
-
setMIDIOutputEventBlock
- Since:
- Available in iOS 11.0 and later.
-
getMIDIOutputEventListBlock
- Since:
- Available in iOS 15.0 and later.
-
setMIDIOutputEventListBlock
public void setMIDIOutputEventListBlock(Block3<AUEventSampleTime,Byte,MIDIEventList,OSStatus> v)- Since:
- Available in iOS 15.0 and later.
-
getAudioUnitMIDIProtocol
- Since:
- Available in iOS 15.0 and later.
-
getHostMIDIProtocol
- Since:
- Available in iOS 15.0 and later.
-
setHostMIDIProtocol
- Since:
- Available in iOS 15.0 and later.
-
getFullState
-
setFullState
-
getFullStateForDocument
-
setFullStateForDocument
-
getFactoryPresets
-
getUserPresets
- Since:
- Available in iOS 13.0 and later.
-
supportsUserPresets
public boolean supportsUserPresets()- Since:
- Available in iOS 13.0 and later.
-
getCurrentPreset
-
setCurrentPreset
-
getLatency
public double getLatency() -
getTailTime
public double getTailTime() -
getRenderQuality
public long getRenderQuality() -
setRenderQuality
public void setRenderQuality(long v) -
shouldBypassEffect
public boolean shouldBypassEffect() -
setShouldBypassEffect
public void setShouldBypassEffect(boolean v) -
canProcessInPlace
public boolean canProcessInPlace() -
isRenderingOffline
public boolean isRenderingOffline() -
setRenderingOffline
public void setRenderingOffline(boolean v) -
getChannelCapabilities
-
getMusicalContextBlock
public Block6<DoublePtr,DoublePtr,MachineSizedSIntPtr,DoublePtr,MachineSizedSIntPtr,DoublePtr,Boolean> getMusicalContextBlock() -
setMusicalContextBlock
public void setMusicalContextBlock(Block6<DoublePtr,DoublePtr,MachineSizedSIntPtr,DoublePtr,MachineSizedSIntPtr,DoublePtr,Boolean> v) -
getTransportStateBlock
-
setTransportStateBlock
-
getContextName
-
setContextName
-
supportsMPE
public boolean supportsMPE()- Since:
- Available in iOS 10.0 and later.
-
getChannelMap
- Since:
- Available in iOS 10.0 and later.
-
setChannelMap
- Since:
- Available in iOS 10.0 and later.
-
getProfileChangedBlock
- Since:
- Available in iOS 12.0 and later.
-
setProfileChangedBlock
- Since:
- Available in iOS 12.0 and later.
-
canPerformInput
public boolean canPerformInput() -
canPerformOutput
public boolean canPerformOutput() -
isInputEnabled
public boolean isInputEnabled() -
setInputEnabled
public void setInputEnabled(boolean v) -
isOutputEnabled
public boolean isOutputEnabled() -
setOutputEnabled
public void setOutputEnabled(boolean v) -
getOutputProvider
-
setOutputProvider
public void setOutputProvider(Block5<IntPtr,AudioTimeStamp,Integer,Long,AudioBufferList,OSStatus> v) -
getInputHandler
-
setInputHandler
-
isRunning
public boolean isRunning()- Since:
- Available in iOS 11.0 and later.
-
getInternalRenderBlock
-
getMIDIOutputBufferSizeHint
public long getMIDIOutputBufferSizeHint()- Since:
- Available in iOS 11.0 and later.
-
setMIDIOutputBufferSizeHint
public void setMIDIOutputBufferSizeHint(long v)- Since:
- Available in iOS 11.0 and later.
-
allocateRenderResourcesAndReturnError
-
deallocateRenderResources
public void deallocateRenderResources() -
reset
public void reset() -
tokenByAddingRenderObserver
public long tokenByAddingRenderObserver(VoidBlock4<AURenderActionFlags,AudioTimeStamp,Integer,Long> observer) -
removeRenderObserver
public void removeRenderObserver(long token) -
getParameters
-
saveUserPreset
- Throws:
NSErrorException- Since:
- Available in iOS 13.0 and later.
-
deleteUserPreset
- Throws:
NSErrorException- Since:
- Available in iOS 13.0 and later.
-
getPresetState
public NSDictionary<NSString,?> getPresetState(AUAudioUnitPreset userPreset) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 13.0 and later.
-
getProfileState
- Since:
- Available in iOS 12.0 and later.
-
enableProfile
public boolean enableProfile(MIDICIProfile profile, byte cable, byte channel, NSError.NSErrorPtr outError)- Since:
- Available in iOS 12.0 and later.
-
disableProfile
public boolean disableProfile(MIDICIProfile profile, byte cable, byte channel, NSError.NSErrorPtr outError)- Since:
- Available in iOS 12.0 and later.
-
instantiate
public static void instantiate(AudioComponentDescription componentDescription, AudioComponentInstantiationOptions options, VoidBlock2<AUAudioUnit,NSError> completionHandler) -
startHardwareAndReturnError
-
stopHardware
public void stopHardware() -
shouldChangeToFormat
-
setRenderResourcesAllocated
public void setRenderResourcesAllocated(boolean flag) -
registerSubclass
public static void registerSubclass(Class<?> cls, AudioComponentDescription componentDescription, String name, int version)
-