shithub: soundpipe

ref: d8ddc90c497260a1f22cfbbc72c58ba1434eb366
dir: /lib/spa/spa.h/

View raw version
/* This file is placed in the public domain */
#ifndef SPA_H
#define SPA_H
int spa_open(sp_data *sp, sp_audio *spa, const char *name, int mode);
size_t spa_write_buf(sp_data *sp, sp_audio *spa, SPFLOAT *buf, uint32_t size);
size_t spa_read_buf(sp_data *sp, sp_audio *spa, SPFLOAT *buf, uint32_t size);
int spa_close(sp_audio *spa);
#endif