Package org.robovm.apple.avfoundation
Class AVAudioEngine
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.avfoundation.AVAudioEngine
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class AVAudioEngine extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAVAudioEngine.AVAudioEnginePtrstatic classAVAudioEngine.NotificationsNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description AVAudioEngine()protectedAVAudioEngine(NSObject.Handle h, long handle)protectedAVAudioEngine(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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
AVAudioEngine
public AVAudioEngine() -
AVAudioEngine
-
AVAudioEngine
-
-
Method Details
-
getMusicSequence
-
setMusicSequence
-
getOutputNode
-
getInputNode
-
getMainMixerNode
-
isRunning
public boolean isRunning() -
isAutoShutdownEnabled
public boolean isAutoShutdownEnabled()- Since:
- Available in iOS 11.0 and later.
-
setAutoShutdownEnabled
public void setAutoShutdownEnabled(boolean v)- Since:
- Available in iOS 11.0 and later.
-
getAttachedNodes
- Since:
- Available in iOS 13.0 and later.
-
getManualRenderingBlock
public Block3<Integer,AudioBufferList,OSStatus.OSStatusPtr,AVAudioEngineManualRenderingStatus> getManualRenderingBlock()- Since:
- Available in iOS 11.0 and later.
-
isInManualRenderingMode
public boolean isInManualRenderingMode()- Since:
- Available in iOS 11.0 and later.
-
getManualRenderingMode
- Since:
- Available in iOS 11.0 and later.
-
getManualRenderingFormat
- Since:
- Available in iOS 11.0 and later.
-
getManualRenderingMaximumFrameCount
public int getManualRenderingMaximumFrameCount()- Since:
- Available in iOS 11.0 and later.
-
getManualRenderingSampleTime
public long getManualRenderingSampleTime()- Since:
- Available in iOS 11.0 and later.
-
ConfigurationChangeNotification
-
attachNode
-
detachNode
-
connect
public void connect(AVAudioNode node1, AVAudioNode node2, long bus1, long bus2, AVAudioFormat format) -
connect
-
connect
public void connect(AVAudioNode sourceNode, NSArray<AVAudioConnectionPoint> destNodes, long sourceBus, AVAudioFormat format)- Since:
- Available in iOS 9.0 and later.
-
disconnectNodeInput
-
disconnectNodeInput
-
disconnectNodeOutput
-
disconnectNodeOutput
-
prepare
public void prepare() -
start
- Throws:
NSErrorException
-
pause
public void pause() -
reset
public void reset() -
stop
public void stop() -
getInputConnectionPoint
- Since:
- Available in iOS 9.0 and later.
-
getOutputConnectionPoints
- Since:
- Available in iOS 9.0 and later.
-
enableManualRenderingMode
public boolean enableManualRenderingMode(AVAudioEngineManualRenderingMode mode, AVAudioFormat pcmFormat, int maximumFrameCount) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 11.0 and later.
-
disableManualRenderingMode
public void disableManualRenderingMode()- Since:
- Available in iOS 11.0 and later.
-
renderOffline
public AVAudioEngineManualRenderingStatus renderOffline(int numberOfFrames, AVAudioPCMBuffer buffer) throws NSErrorException- Throws:
NSErrorException- Since:
- Available in iOS 11.0 and later.
-
connectMIDI
public void connectMIDI(AVAudioNode sourceNode, AVAudioNode destinationNode, AVAudioFormat format, Block4<AUEventSampleTime,Byte,Long,BytePtr,OSStatus> tapBlock)- Since:
- Available in iOS 12.0 and later.
-
connectMIDI
public void connectMIDI(AVAudioNode sourceNode, NSArray<AVAudioNode> destinationNodes, AVAudioFormat format, Block4<AUEventSampleTime,Byte,Long,BytePtr,OSStatus> tapBlock)- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDI
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDI
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDIInput
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDIOutput
- Since:
- Available in iOS 12.0 and later.
-