sparec
Files: sparec.h, sparec.c
Writes signal to spa file.
sp_sparec_create(sp_sparec **sparec)
sp_sparec_init(sp_data *sp, sp_sparec *sparec, const char *filename)
sp_sparec_compute(sp_data *sp, sp_sparec *sparec, SPFLOAT *input, SPFLOAT *out)
sp_sparec_destroy(sp_sparec **sparec)
Mandatory Parameters
filename: Filename to write to
(Recommended value: N/A)
Inputs
input: Input signal.
Outputs
out: Copy of input signal.
Other Functions:
sp_sparec_close(sp_data *sp, sp_sparec *sparec)
Close spa file and writes the rest of the data in the buffer.