utils/audio.h file

Audio utils.

Contents

Functions

void audio_decode(struct adinfo* nfo, SRC_DATA* src_data, float** out_buff, long* out_buff_size, const char* filename)
Decodes the given filename (absolute path).
void audio_write_raw_file(float* buff, long size, int samplerate, int channels, const char* filename)
Writes the buffer as a raw file to the given path.
auto audio_get_num_cores() -> int
Returns the number of CPU cores.

Defines

#define STRIP_SIZE
Number of plugin slots per channel.