diff options
| author | steven-na <noreply.github@stvnc.dev> | 2026-08-03 12:16:33 -0700 |
|---|---|---|
| committer | steven-na <noreply.github@stvnc.dev> | 2026-08-03 12:16:33 -0700 |
| commit | ba124c0c03551d7b17f9f789ce6ab5b9f897f9f5 (patch) | |
| tree | f4388610e68c20f5169c9acb526e5bd9df9e628b /src/wav.c | |
| parent | bc4a38a4612c8b32a38fb46296931b9ed4c830fb (diff) | |
wav_load accepts conflict scratch arenas
Diffstat (limited to 'src/wav.c')
| -rw-r--r-- | src/wav.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -99,8 +99,8 @@ wav_fmt_chunk_t make_wav_fmt_chunk(u32 num_channels, u32 sample_rate, u16 bits_p return o; } -void wav_load(smrt_arena_t *arena, FILE *wav, f64 ***samples_o ,u16 *channel_count_o ,u64 *sample_count_o, u32 *sample_rate_o) { - smrta_temp_t scratch = smrta_scratch_start(NULL, 0); +void wav_load(smrt_arena_t *arena, FILE *wav, f64 ***samples_o ,u16 *channel_count_o ,u64 *sample_count_o, u32 *sample_rate_o, smrt_arena_t **conflicts, u64 num_conflicts) { + smrta_temp_t scratch = smrta_scratch_start(conflicts, num_conflicts); wav_master_chunk_t m; wav_fmt_chunk_t f; |