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

Properties

Properties

bufferID

The OpenAL buffer ID of the sound.

@property (nonatomic, readonly) uint bufferID

Discussion

The OpenAL buffer ID of the sound.

Declared In

SPALSound.h

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