scons --> make
[aftubes.git] / buffer.h
blobac93040aa44245073d6c2ce756f7d74f9d0b6396
1 #ifndef BUFFER_H
2 #define BUFFER_H
4 #include "aformat.h"
5 #include "errors.h"
6 #include "stddef.h"
8 struct buffer {
9 struct aformat format;
10 size_t n_samples;
11 void *data;
14 void buffer_init(struct buffer *buf);
15 err_t buffer_alloc(struct buffer *buf, size_t n_samples);
17 #endif