SPALSound Class Reference
Inherits from | SPSound : NSObject |
Declared in | SPALSound.h |
Overview
The SPALSound class is a concrete implementation of SPSound that uses OpenAL internally.
Don’t create instances of this class manually. Use [SPSound initWithContentsOfFile:]
instead.
Tasks
Initialization
-
– initWithData:size:channels:frequency:duration:
Initializes a sound with its known properties.
Properties
-
bufferID
The OpenAL buffer ID of the sound.
property
Instance Methods
initWithData:size:channels:frequency:duration:
Initializes a sound with its known properties.
- (instancetype)initWithData:(const void *)data size:(int)size channels:(int)channels frequency:(int)frequency duration:(double)duration
Discussion
Initializes a sound with its known properties.
Declared In
SPALSound.h