/usr/include/rem/rem_aufile.h is in librem-dev 0.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /**
* @file rem_aufile.h Audio File interface
*
* Copyright (C) 2010 Creytiv.com
*/
/** Audio file mode */
enum aufile_mode {
AUFILE_READ,
AUFILE_WRITE,
};
/** Audio file parameters */
struct aufile_prm {
uint32_t srate;
uint8_t channels;
enum aufmt fmt;
};
struct aufile;
int aufile_open(struct aufile **afp, struct aufile_prm *prm,
const char *filename, enum aufile_mode mode);
int aufile_read(struct aufile *af, uint8_t *p, size_t *sz);
int aufile_write(struct aufile *af, const uint8_t *p, size_t sz);
|