diff options
| author | Tharo <tharo10600@gmail.com> | 2026-03-09 11:32:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-09 08:32:36 -0300 |
| commit | 02eafced87237be63b32ddc187ea85faf92afe00 (patch) | |
| tree | 136935ec80ac6a7d747cb0edfbbc9b7799cae09f /tools/audio/sampleconv/src/container/container.h | |
| parent | 826bc7588e4ecdaa00bc23d25f8082e6ab011339 (diff) | |
sampleconv: Improve WAV SMPL chunk handling, properly handle (#1862)
odd chunk sizes
* Read WAV SMPL chunks for note info when INST chunks are not available
* Populate the SMPL chunk on conversion to wav
* Properly handle unaligned (odd) WAV chunk sizes
Diffstat (limited to 'tools/audio/sampleconv/src/container/container.h')
| -rw-r--r-- | tools/audio/sampleconv/src/container/container.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/audio/sampleconv/src/container/container.h b/tools/audio/sampleconv/src/container/container.h index 680b64012..dae79344e 100644 --- a/tools/audio/sampleconv/src/container/container.h +++ b/tools/audio/sampleconv/src/container/container.h @@ -62,8 +62,8 @@ typedef struct container_data { uint32_t num_samples; // also apparently called num_frames? but that's wrong // Instrument details - int8_t base_note; - int8_t fine_tune; + int8_t base_note; // [0, 127] + int8_t fine_tune; // [-50, 50] int8_t gain; int8_t key_low; int8_t key_hi; |
