feat: add save/load thread and WAV file I/O for clip persistence
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
10
wav_io.h
Normal file
10
wav_io.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef WAV_IO_H
|
||||
#define WAV_IO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int save_wav_float(const char *filename, const float *buffer, size_t num_samples, unsigned int sample_rate);
|
||||
int load_wav_float(const char *filename, float **buffer, size_t *num_samples, unsigned int *sample_rate);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user