1#ifndef __LIBDRAGON_WAV64_INTERNAL_H
2#define __LIBDRAGON_WAV64_INTERNAL_H
5#define WAV64_FILE_VERSION 2
6#define WAV64_FORMAT_RAW 0
7#define WAV64_FORMAT_VADPCM 1
8#define WAV64_FORMAT_OPUS 3
9#define WAV64_NUM_FORMATS 4
15typedef struct __attribute__((packed)) {
27_Static_assert(
sizeof(
wav64_header_t) == 24,
"invalid wav64_header size");
30typedef struct __attribute__((aligned(8))) {
35typedef struct __attribute__((packed, aligned(8))) {
Definition samplebuffer.h:82
WAV64 pluggable compression algorithm.
Definition wav64_internal.h:46
A vector of audio samples.
Definition wav64_internal.h:30
int close(int fildes)
Close a file.
Definition system.c:577
void raw_waveform_read(samplebuffer_t *sbuf, int current_fd, int wpos, int wlen, int bps)
Utility function to help implementing WaveformRead for uncompressed (raw) samples.
Definition wav64.c:59
void raw_waveform_read_address(samplebuffer_t *sbuf, int base_rom_addr, int wpos, int wlen, int bps)
Utility function to help implementing WaveformRead for uncompressed (raw) samples.
Definition wav64.c:69
WAV64 structure.
Definition wav64.h:32