| 1 |
/* |
| 2 |
wav.c: write wav/au/cdr files (and headerless raw) |
| 3 |
|
| 4 |
copyright ?-2015 by the mpg123 project - free software under the terms of the LGPL 2.1 |
| 5 |
see COPYING and AUTHORS files in distribution or http://mpg123.org |
| 6 |
initially extracted of out123_int.h, formerly audio.h, by Thomas Orgis |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef _MPG123_WAV_H_ |
| 10 |
#define _MPG123_WAV_H_ |
| 11 |
|
| 12 |
/* Could get away without any header, as only pointers declared. */ |
| 13 |
#include "out123.h" |
| 14 |
|
| 15 |
/* Interfaces from wav.c, variants of file writing, to be combined into |
| 16 |
fake modules by the main library code. */ |
| 17 |
|
| 18 |
int INT123_au_open(out123_handle *); |
| 19 |
int INT123_cdr_open(out123_handle *); |
| 20 |
int INT123_raw_open(out123_handle *); |
| 21 |
int INT123_wav_open(out123_handle *); |
| 22 |
int INT123_wav_write(out123_handle *, unsigned char *buf, int len); |
| 23 |
int INT123_wav_close(out123_handle *); |
| 24 |
int INT123_au_close(out123_handle *); |
| 25 |
int INT123_raw_close(out123_handle *); |
| 26 |
int INT123_cdr_formats(out123_handle *); |
| 27 |
int INT123_au_formats(out123_handle *); |
| 28 |
int INT123_raw_formats(out123_handle *); |
| 29 |
int INT123_wav_formats(out123_handle *); |
| 30 |
void INT123_wav_drain(out123_handle *); |
| 31 |
|
| 32 |
#endif |
| 33 |
|