looper/subprojects/mpg123/src/libout123/wav.h
2024-09-28 10:31:18 -07:00

33 lines
1.1 KiB
C

/*
wav.c: write wav/au/cdr files (and headerless raw)
copyright ?-2015 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially extracted of out123_int.h, formerly audio.h, by Thomas Orgis
*/
#ifndef _MPG123_WAV_H_
#define _MPG123_WAV_H_
/* Could get away without any header, as only pointers declared. */
#include "out123.h"
/* Interfaces from wav.c, variants of file writing, to be combined into
fake modules by the main library code. */
int INT123_au_open(out123_handle *);
int INT123_cdr_open(out123_handle *);
int INT123_raw_open(out123_handle *);
int INT123_wav_open(out123_handle *);
int INT123_wav_write(out123_handle *, unsigned char *buf, int len);
int INT123_wav_close(out123_handle *);
int INT123_au_close(out123_handle *);
int INT123_raw_close(out123_handle *);
int INT123_cdr_formats(out123_handle *);
int INT123_au_formats(out123_handle *);
int INT123_raw_formats(out123_handle *);
int INT123_wav_formats(out123_handle *);
void INT123_wav_drain(out123_handle *);
#endif