Mercurial > spc_convert
view demo/wave_writer.h @ 3:95cdedd01422
allow user to select number of seconds to convert
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 21 Oct 2011 06:44:35 -0700 |
parents | e38dacceb958 |
children |
line wrap: on
line source
1 /* WAVE sound file writer for recording 16-bit output during program development */3 #ifndef WAVE_WRITER_H4 #define WAVE_WRITER_H6 #ifdef __cplusplus7 extern "C" {8 #endif10 void wave_open( long sample_rate, const char* filename );11 void wave_enable_stereo( void );12 void wave_write( short const* in, long count );13 long wave_sample_count( void );14 void wave_close( void );16 #ifdef __cplusplus17 }18 #endif20 #endif