Instance Method

removeRenderObserver(_:)

Removes an observer block previously added to the render cycle.

Declaration

func removeRenderObserver(_ token: Int)

Parameters

token

The token associated with the block.

Discussion

This version 3 property is bridged to the version 2 AudioUnitRemoveRenderNotify(_:_:_:) API.

See Also

Managing the Render Cycle

var renderBlock: AURenderBlock

The block that hosts use to ask the audio unit to render audio.

var scheduleParameterBlock: AUScheduleParameterBlock

The block that hosts use to schedule parameters.

var maximumFramesToRender: AUAudioFrameCount

The maximum number of frames that the audio unit can render at once.

func token(byAddingRenderObserver: AURenderObserver) -> Int

Adds a block to be called on each render cycle.