AudioPool struct

An audio pool is a pool of audio files and their corresponding float arrays in memory that are referenced by regions.

Contents

Instead of associating audio files with regions, all audio files (and their edited counterparts after some hard editing like stretching) are saved in the pool.

Public variables

AudioClip** clips
Audio clips.
int num_clips
Clip counter.
size_t clips_size
Array sizes.

Variable documentation

AudioClip** AudioPool::clips

Audio clips.

May contain NULLs.

int AudioPool::num_clips

Clip counter.

This is not the actual number of clips in the pool - it may contain NULL clips. This is to make identifying and managing clips easier by their IDs.