AESubrendererModule Class Reference

Subrenderer module. More...

#import <AESubrendererModule.h>

Inherits AEModule.

Instance Methods

(instancetype _Nullable) - initWithRenderer:subrenderer:
 Initializer.
 
- Instance Methods inherited from AEModule
(instancetype _Nullable) - initWithRenderer:
 Initializer.
 
(instancetype _Nonnull) - NS_UNAVAILABLE
 
(void) - rendererDidChangeSampleRate
 Notifies the module that the renderer's sample rate has changed.
 
(void) - rendererDidChangeNumberOfChannels
 Notifies the module that the renderer's channel count has changed.
 

Properties

AERenderer *_Nullable subrenderer
 The sub-renderer. You may change this value at any time; assignment is thread-safe.
 
int numberOfOutputChannels
 The number of channels to use, or zero to track the owning renderer's channel count. Default is 2 (stereo)
 
- Properties inherited from AEModule
AEModuleProcessFunc _Nonnull processFunction
 Process function.
 
AEModuleIsActiveFunc _Nullable isActiveFunction
 Active test function.
 
AERenderer *_Nullable renderer
 The renderer.
 

Detailed Description

Subrenderer module.

This module allows you to run a separate renderer. This can be useful for encapsulating complex rendering behaviour.

The subrenderer's sample rate will track the owning renderer's sample rate, and

Method Documentation

- (instancetype _Nullable) initWithRenderer: (AERenderer *_Nullable)  renderer
subrenderer: (AERenderer *_Nullable)  subrenderer 

Initializer.

Parameters
rendererOwning renderer
subrendererSub-renderer to use to provide input

Property Documentation

- (AERenderer* _Nullable) subrenderer
readwritenonatomicstrong

The sub-renderer. You may change this value at any time; assignment is thread-safe.

- (int) numberOfOutputChannels
readwritenonatomicassign

The number of channels to use, or zero to track the owning renderer's channel count. Default is 2 (stereo)


The documentation for this class was generated from the following file: