AEBlockChannel Class Reference

Block channel: Utility class to allow use of a block to generate audio. More...

#import <AEBlockChannel.h>

Inherits <NSObject>, and <AEAudioPlayable>.

Class Methods

(AEBlockChannel *) + channelWithBlock:
 Create a new channel with a given block.
 

Properties

float volume
 Track volume.
 
float pan
 Track pan.
 
BOOL channelIsPlaying
 
BOOL channelIsMuted
 
AudioStreamBasicDescription audioDescription
 
- Properties inherited from <AEAudioPlayable>
AEAudioRenderCallback renderCallback
 Reference to the render callback.
 
float volume
 Track volume.
 
float pan
 Track pan.
 
BOOL channelIsPlaying
 
BOOL channelIsMuted
 
AudioStreamBasicDescription audioDescription
 

Additional Inherited Members

- Instance Methods inherited from <AEAudioPlayable>
(void) - setupWithAudioController:
 Perform setup, to prepare for playback.
 
(void) - teardown
 Clean up resources.
 

Detailed Description

Block channel: Utility class to allow use of a block to generate audio.

Method Documentation

+ (AEBlockChannel*) channelWithBlock: (AEBlockChannelBlock block

Create a new channel with a given block.

Parameters
blockBlock to use for audio generation

Property Documentation

- (float) volume
readwritenonatomicassign

Track volume.

Range: 0.0 to 1.0

- (float) pan
readwritenonatomicassign

Track pan.

Range: -1.0 (left) to 1.0 (right)

- (BOOL) channelIsPlaying
readwritenonatomicassign
- (BOOL) channelIsMuted
readwritenonatomicassign
- (AudioStreamBasicDescription) audioDescription
readwritenonatomicassign

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