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 au_open(out123_handle *); 19 int cdr_open(out123_handle *); 20 int raw_open(out123_handle *); 21 int wav_open(out123_handle *); 22 int wav_write(out123_handle *, unsigned char *buf, int len); 23 int wav_close(out123_handle *); 24 int au_close(out123_handle *); 25 int raw_close(out123_handle *); 26 int cdr_formats(out123_handle *); 27 int au_formats(out123_handle *); 28 int raw_formats(out123_handle *); 29 int wav_formats(out123_handle *); 30 void wav_drain(out123_handle *); 31 32 #endif 33 34