AESplitterModule Class Reference

Splitter module. More...

#import <AESplitterModule.h>

Inherits AEModule.

Instance Methods

(instancetype) - initWithRenderer:module:
 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

AEModulemodule
 The module.
 
int numberOfChannels
 
- Properties inherited from AEModule
AEModuleProcessFunc _Nonnull processFunction
 Process function.
 
AEModuleIsActiveFunc _Nullable isActiveFunction
 Active test function.
 
AERenderer *_Nullable renderer
 The renderer.
 

Detailed Description

Splitter module.

This generator module wraps another generator, and allows you to safely run it multiple times in the same render cycle by buffering the first run, and returning the buffered audio for the first and subsequent runs. This is useful for situations where you are drawing input from the same module at multiple points throughout your audio renderer.

Method Documentation

- (instancetype) initWithRenderer: (AERenderer *)  renderer
module: (AEModule *)  module 

Initializer.

Parameters
rendererThe renderer
moduleA generator module with which to generate audio

Property Documentation

- (AEModule*) module
readnonatomicstrong

The module.

- (int) numberOfChannels
readwritenonatomicassign

The number of channels that will be generated (default 2). You should not change this value while the module is in use.


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