diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2019-07-01 05:01:55 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2019-07-01 05:01:55 +0300 |
commit | 81f905ea76f0efb6ea35331bd1fe476f14f804de (patch) | |
tree | 8146611e945a5080db9e7f6fc1805cc77565204b /utils/midiplay/wave_writer.h | |
parent | d02cf717c2da0344b37db1ffb864d312713f3208 (diff) | |
download | libADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.tar.gz libADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.tar.bz2 libADLMIDI-81f905ea76f0efb6ea35331bd1fe476f14f804de.zip |
First working of new database
// not so stable, needs a polishing, however, multibank from embedded 72'th bank (DMXOPL3) works!
Diffstat (limited to 'utils/midiplay/wave_writer.h')
-rwxr-xr-x | utils/midiplay/wave_writer.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/utils/midiplay/wave_writer.h b/utils/midiplay/wave_writer.h index 6d49718..17318c3 100755 --- a/utils/midiplay/wave_writer.h +++ b/utils/midiplay/wave_writer.h @@ -5,17 +5,23 @@ #define WAVE_WRITER_H #ifdef __cplusplus - extern "C" { +extern "C" { #endif -int 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 ); +int 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); + +void *ctx_wave_open(long sample_rate, const char *filename); +void ctx_wave_enable_stereo(void *ctx); +void ctx_wave_write(void *ctx, short const *in, long count); +long ctx_wave_sample_count(void *ctx); +void ctx_wave_close(void *ctx); #ifdef __cplusplus - } +} #endif #endif |