Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
AudioPool Struct Reference

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

#include <dsp/pool.h>

Collaboration diagram for AudioPool:

Data Fields

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

Detailed Description

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

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.

Definition at line 38 of file pool.h.

Field Documentation

◆ clips

AudioClip** AudioPool::clips

Audio clips.

Warning
May contain NULLs.

Definition at line 47 of file pool.h.

◆ clips_size

size_t AudioPool::clips_size

Array sizes.

Definition at line 59 of file pool.h.

◆ num_clips

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.

Definition at line 56 of file pool.h.

◆ schema_version

int AudioPool::schema_version

Definition at line 40 of file pool.h.


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