Files
jack-looper/wav_io.h
Loic Coenen f37cb5c0a6 feat: add save/load thread and WAV file I/O for clip persistence
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
2026-05-02 10:18:04 +00:00

11 lines
299 B
C

#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