Package org.robovm.apple.audiotoolbox
Class AudioUnit
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.audiotoolbox.AudioComponentInstance
org.robovm.apple.audiotoolbox.AudioUnit
public class AudioUnit extends AudioComponentInstance
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudioUnit.AudioUnitPtrNested classes/interfaces inherited from class org.robovm.apple.audiotoolbox.AudioComponentInstance
AudioComponentInstance.AudioComponentInstancePtrNested classes/interfaces inherited from class org.robovm.rt.bro.NativeObject
NativeObject.Marshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedAudioUnit() -
Method Summary
Methods inherited from class org.robovm.apple.audiotoolbox.AudioComponentInstance
create0, dispose, dispose0, getComponent
-
Constructor Details
-
AudioUnit
protected AudioUnit()
-
-
Method Details
-
create
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
canDo
- Since:
- Available in iOS 3.0 and later.
-
canDo
- Since:
- Available in iOS 3.0 and later.
-
initialize
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
uninitialize
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getPropertySize
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getPropertySize
public int getPropertySize(AUPropertyType type, AUScope scope, int element) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
isPropertyWritable
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
isPropertyWritable
public boolean isPropertyWritable(AUPropertyType type, AUScope scope, int element) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getProperty
public <T extends Struct<T>> T getProperty(AUPropertyType type, Class<T> returnType, AUScope scope) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getProperty
public <T extends Struct<T>> T getProperty(AUPropertyType type, Class<T> returnType, AUScope scope, int element) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setProperty
public <T extends Struct<T>> void setProperty(AUPropertyType type, Struct<T> data, AUScope scope) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setProperty
public <T extends Struct<T>> void setProperty(AUPropertyType type, Struct<T> data, AUScope scope, int element) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getPropertyAsInt
- Throws:
OSStatusException
-
getPropertyAsLong
- Throws:
OSStatusException
-
getPropertyAsFloat
- Throws:
OSStatusException
-
getPropertyAsDouble
- Throws:
OSStatusException
-
setProperty
- Throws:
OSStatusException
-
setProperty
- Throws:
OSStatusException
-
setProperty
- Throws:
OSStatusException
-
setProperty
- Throws:
OSStatusException
-
getMaxFramesPerSlice
- Throws:
OSStatusException
-
setMaxFramesPerSlice
- Throws:
OSStatusException
-
getStreamFormat
- Throws:
OSStatusException
-
setStreamFormat
public void setStreamFormat(AudioStreamBasicDescription streamFormat, AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
makeConnection
- Throws:
OSStatusException
-
setRenderCallback
- Throws:
OSStatusException
-
setHostCallback
- Throws:
OSStatusException
-
getInputSamplesInOutputCallback
public AUInputSamplesInOutputCallback getInputSamplesInOutputCallback(AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
setInputSamplesInOutputCallback
public void setInputSamplesInOutputCallback(AUInputSamplesInOutputCallback callback, AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
scheduleAudioSlice
public void scheduleAudioSlice(AUScheduledAudioSlice slice, AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
scheduleAudioFileRegion
public void scheduleAudioFileRegion(AUScheduledAudioFileRegion region, AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
getMIDICallbacks
- Throws:
OSStatusException
-
setMIDICallbacks
public void setMIDICallbacks(AUOutputMIDICallback callback, AUScope scope) throws OSStatusException- Throws:
OSStatusException
-
addPropertyListener
public void addPropertyListener(AUPropertyType id, AUPropertyListener listener) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
removePropertyListener
public void removePropertyListener(AUPropertyType id, AUPropertyListener listener) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
addRenderNotify
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
removeRenderNotify
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getParameter
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
getParameter
public float getParameter(AUParameterType type, AUScope scope, int element) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setParameter
public void setParameter(AUParameterType type, float value, AUScope scope) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
setParameter
public void setParameter(AUParameterType type, float value, AUScope scope, int element, int bufferOffsetInFrames) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
render
public void render(AURenderActionFlags actionFlags, AudioTimeStamp timeStamp, int outputBusNumber, int numberFrames, AudioBufferList data) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
render
public void render(AUMutableRenderActionFlags actionFlags, AudioTimeStamp timeStamp, int outputBusNumber, int numberFrames, AudioBufferList data) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
process
public void process(AUMutableRenderActionFlags actionFlags, AudioTimeStamp timeStamp, int numberFrames, AudioBufferList data) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
reset
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
publishOutput
public void publishOutput(AudioComponentDescription desc, String name, int version) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 7.0 and later.
-
startOutput
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
stopOutput
- Throws:
OSStatusException- Since:
- Available in iOS 2.0 and later.
-
initialize0
-
uninitialize0
-
getPropertyInfo0
protected OSStatus getPropertyInfo0(AUPropertyType inID, AUScope inScope, int inElement, IntPtr outDataSize, BooleanPtr outWritable) -
getProperty0
protected OSStatus getProperty0(AUPropertyType inID, AUScope inScope, int inElement, VoidPtr outData, IntPtr ioDataSize) -
setProperty0
protected OSStatus setProperty0(AUPropertyType inID, AUScope inScope, int inElement, VoidPtr inData, int inDataSize) -
addPropertyListener0
protected OSStatus addPropertyListener0(AUPropertyType inID, FunctionPtr inProc, long inProcUserData) -
removePropertyListener0
protected OSStatus removePropertyListener0(AUPropertyType inID, FunctionPtr inProc, long inProcUserData) -
addRenderNotify0
-
removeRenderNotify0
-
getParameter0
protected OSStatus getParameter0(AUParameterType inID, AUScope inScope, int inElement, FloatPtr outValue) -
setParameter0
protected OSStatus setParameter0(AUParameterType inID, AUScope inScope, int inElement, float inValue, int inBufferOffsetInFrames) -
render0
protected OSStatus render0(AUMutableRenderActionFlags actionFlags, AudioTimeStamp inTimeStamp, int inOutputBusNumber, int inNumberFrames, AudioBufferList ioData) -
process0
protected OSStatus process0(AUMutableRenderActionFlags actionFlags, AudioTimeStamp inTimeStamp, int inNumberFrames, AudioBufferList ioData) -
processMultiple0
protected OSStatus processMultiple0(AUMutableRenderActionFlags actionFlags, AudioTimeStamp inTimeStamp, int inNumberFrames, int inNumberInputBufferLists, AudioBufferList.AudioBufferListPtr inInputBufferLists, int inNumberOutputBufferLists, AudioBufferList.AudioBufferListPtr ioOutputBufferLists) -
reset0
-
publishOutput0
@Deprecated protected static OSStatus publishOutput0(AudioComponentDescription inDesc, String inName, int inVersion, AudioUnit inOutputUnit)Deprecated.Deprecated in iOS 13.0. Inter-App Audio API is deprecated in favor of Audio Units -
getOutputHostIcon
Deprecated.Deprecated in iOS 13.0. Inter-App Audio API is deprecated in favor of Audio Units -
extensionSetComponentList0
protected static OSStatus extensionSetComponentList0(String extensionIdentifier, NSArray audioComponentInfo)- Since:
- Available in iOS 11.0 and later.
-
extensionCopyComponentList0
- Since:
- Available in iOS 11.0 and later.
-
startOutput0
-
stopOutput0
-