spa

Files: spa.h, spa.c

Stream a Soundpipe Audio File Similar to sp_diskin, sp_spa will stream a file in the internal soundpipe audio format. Such a format is useful for instances where you need to read audio files, but can't use libsndfile.

Functions

sp_spa_create(sp_spa **spa)
sp_spa_init(sp_data *sp, sp_spa *spa, const char *filename)
sp_spa_compute(sp_data *sp, sp_spa *spa, SPFLOAT *out)
sp_spa_destroy(sp_spa **spa)

Mandatory Parameters

filename: Filename of SPA file
(Recommended value: N/A)

Outputs

out: Output to spa.