mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
3bfcc5c09c
spc_amp from a x.4 fixed point number to a normal float. - Switched SPC playback from the external SNESAPU.DLL to Blargg's LGPL snes_spc library. I've compiled it with the fast DSP rather than the highly accurate one, since I didn't notice a meaningful difference between the two in my limited testing. In short: SPC playback is now built in to ZDoom. You don't need to download anything extra to make it work, and it also works on Linux as well as Windows (though building with Linux is currently untested). - Fixed: Stereo separation was calculated very wrongly when in 2D sound mode. SVN r794 (trunk)
20 lines
405 B
C
20 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
|