Sona 0.50 Source

Sona 0.50/tools/wav2swav/main.h

#ifndef MAIN_H_
#define MAIN_H_

#include <stddef.h>
#include <stdint.h>

// Type that holds waveform information
typedef struct {
   size_t len;                // Length in samples
   uint32_t rate;             // Sample rate
   uint8_t data[0];           // Waveform samples
} Waveform;

#endif