shithub: soundpipe

ref: 70285956de156f146984f42c8ffa42401d42edd7
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