Mercurial > spc_convert
comparison demo/wave_writer.h @ 0:e38dacceb958
initial import
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 21 Oct 2011 05:53:11 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e38dacceb958 |
---|---|
1 /* WAVE sound file writer for recording 16-bit output during program development */ | |
2 | |
3 #ifndef WAVE_WRITER_H | |
4 #define WAVE_WRITER_H | |
5 | |
6 #ifdef __cplusplus | |
7 extern "C" { | |
8 #endif | |
9 | |
10 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 ); | |
15 | |
16 #ifdef __cplusplus | |
17 } | |
18 #endif | |
19 | |
20 #endif |