Files
SeeSynth/utils.h
e1lama 7eb6a1755d fix: refactor code structure into files (#8)
closes #7

Co-authored-by: HiveBeats <e1lama@protonmail.com>
Reviewed-on: #8
2023-06-18 14:46:20 +03:00

22 lines
526 B
C

#ifndef UTILS_H
#define UTILS_H
#include "stdio.h"
#define write_log(format,args...) do { \
printf(format, ## args); \
} while(0)
//------------------------------------------------------------------------------------
// General SynthSound
//------------------------------------------------------------------------------------
typedef struct SynthSound {
float* samples;
size_t sample_count;
} SynthSound;
// frees the original sounds
SynthSound concat_sounds(SynthSound* sounds, size_t count);
#endif