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 | |
AEModule * | module |
The module. | |
int | numberOfChannels |
Properties inherited from AEModule | |
AEModuleProcessFunc _Nonnull | processFunction |
Process function. | |
AEModuleIsActiveFunc _Nullable | isActiveFunction |
Active test function. | |
AERenderer *_Nullable | renderer |
The renderer. | |
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.
- (instancetype) initWithRenderer: | (AERenderer *) | renderer | |
module: | (AEModule *) | module | |
Initializer.
renderer | The renderer |
module | A generator module with which to generate audio |
|
readnonatomicstrong |
The module.
|
readwritenonatomicassign |
The number of channels that will be generated (default 2). You should not change this value while the module is in use.