mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
21 lines
405 B
C
21 lines
405 B
C
|
/* WAVE sound file writer for recording 16-bit output during program development */
|
||
|
|
||
|
#ifndef WAVE_WRITER_H
|
||
|
#define WAVE_WRITER_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void wave_open( long sample_rate, const char* filename );
|
||
|
void wave_enable_stereo( void );
|
||
|
void wave_write( short const* in, long count );
|
||
|
long wave_sample_count( void );
|
||
|
void wave_close( void );
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|