ref: d8ddc90c497260a1f22cfbbc72c58ba1434eb366
dir: /lib/dr_wav/sp_dr_wav.h/
#ifndef SP_DRWAV_H #define SP_DRWAV_H #ifndef dr_wav_h typedef struct drwav drwav; #endif size_t sp_drwav_size(void); int sp_drwav_init_file(drwav* pWav, const char* filename); size_t sp_drwav_read_f32(drwav* pWav, size_t samplesToRead, float* pBufferOut); size_t sp_drwav_sampcount(drwav *wav); void sp_drwav_uninit(drwav *wav); int sp_drwav_seek_to_sample(drwav* pWav, size_t sample); drwav * sp_drwav_open_mono_write(const char *filename, int sr); size_t sp_drwav_write(drwav* pWav, size_t samplesToWrite, const void* pData); void sp_drwav_close(drwav* pWav); #endif