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
,org.robovm.objc.ObjCProtocol
public class AVAudioEngine extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVAudioEngine.AVAudioEnginePtr
static class
AVAudioEngine.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description AVAudioEngine()
protected
AVAudioEngine(NSObject.Handle h, long handle)
protected
AVAudioEngine(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, willChangeValues
-
-
-
-
Constructor Detail
-
AVAudioEngine
public AVAudioEngine()
-
AVAudioEngine
protected AVAudioEngine(NSObject.Handle h, long handle)
-
AVAudioEngine
protected AVAudioEngine(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getMusicSequence
public MusicSequence getMusicSequence()
-
setMusicSequence
public void setMusicSequence(MusicSequence v)
-
getOutputNode
public AVAudioOutputNode getOutputNode()
-
getInputNode
public AVAudioInputNode getInputNode()
- Since:
- Available in iOS 8.0 and later.
-
getMainMixerNode
public AVAudioMixerNode 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.
-
getManualRenderingBlock
public org.robovm.objc.block.Block3<java.lang.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
public AVAudioEngineManualRenderingMode getManualRenderingMode()
- Since:
- Available in iOS 11.0 and later.
-
getManualRenderingFormat
public AVAudioFormat 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
public static NSString ConfigurationChangeNotification()
- Since:
- Available in iOS 8.0 and later.
-
attachNode
public void attachNode(AVAudioNode node)
-
detachNode
public void detachNode(AVAudioNode node)
-
connect
public void connect(AVAudioNode node1, AVAudioNode node2, long bus1, long bus2, AVAudioFormat format)
-
connect
public void connect(AVAudioNode node1, AVAudioNode node2, AVAudioFormat format)
-
connect
public void connect(AVAudioNode sourceNode, NSArray<AVAudioConnectionPoint> destNodes, long sourceBus, AVAudioFormat format)
- Since:
- Available in iOS 9.0 and later.
-
disconnectNodeInput
public void disconnectNodeInput(AVAudioNode node, long bus)
-
disconnectNodeInput
public void disconnectNodeInput(AVAudioNode node)
-
disconnectNodeOutput
public void disconnectNodeOutput(AVAudioNode node, long bus)
-
disconnectNodeOutput
public void disconnectNodeOutput(AVAudioNode node)
-
prepare
public void prepare()
-
start
public boolean start() throws NSErrorException
- Throws:
NSErrorException
-
pause
public void pause()
-
reset
public void reset()
-
stop
public void stop()
-
getInputConnectionPoint
public AVAudioConnectionPoint getInputConnectionPoint(AVAudioNode node, long bus)
- Since:
- Available in iOS 9.0 and later.
-
getOutputConnectionPoints
public NSArray<AVAudioConnectionPoint> getOutputConnectionPoints(AVAudioNode node, long bus)
- 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, org.robovm.objc.block.Block4<AUEventSampleTime,java.lang.Byte,java.lang.Long,org.robovm.rt.bro.ptr.BytePtr,OSStatus> tapBlock)
- Since:
- Available in iOS 12.0 and later.
-
connectMIDI
public void connectMIDI(AVAudioNode sourceNode, NSArray<AVAudioNode> destinationNodes, AVAudioFormat format, org.robovm.objc.block.Block4<AUEventSampleTime,java.lang.Byte,java.lang.Long,org.robovm.rt.bro.ptr.BytePtr,OSStatus> tapBlock)
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDI
public void disconnectMIDI(AVAudioNode sourceNode, AVAudioNode destinationNode)
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDI
public void disconnectMIDI(AVAudioNode sourceNode, NSArray<AVAudioNode> destinationNodes)
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDIInput
public void disconnectMIDIInput(AVAudioNode node)
- Since:
- Available in iOS 12.0 and later.
-
disconnectMIDIOutput
public void disconnectMIDIOutput(AVAudioNode node)
- Since:
- Available in iOS 12.0 and later.
-
-