shithub: soundpipe

ref: 49ff67154a0150cade077dcd040d68bc6a200b17
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