diff options
author | XANTRONIX Development | 2022-02-01 13:16:28 -0500 |
---|---|---|
committer | XANTRONIX Development | 2022-02-01 13:16:28 -0500 |
commit | d10d683326161d6570eb4b905dc645a95551869f (patch) | |
tree | 2b40d3aa2eef0447419debe1c0b2e3113db0f876 /include | |
parent | cdb4eb396109e1659bfbb1c289279f41dd60f0b0 (diff) | |
download | xas-d10d683326161d6570eb4b905dc645a95551869f.tar.gz xas-d10d683326161d6570eb4b905dc645a95551869f.tar.bz2 xas-d10d683326161d6570eb4b905dc645a95551869f.zip |
Reduce reliance on duplicate hardcoded constants
Diffstat (limited to 'include')
-rw-r--r-- | include/xas/riff.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xas/riff.h b/include/xas/riff.h index 693aa9a..6e097c3 100644 --- a/include/xas/riff.h +++ b/include/xas/riff.h @@ -6,6 +6,11 @@ #include <xas/audio.h> +#define XAS_RIFF_HEADER_MAIN_ID "RIFF" +#define XAS_RIFF_HEADER_WAVE_ID "WAVE" +#define XAS_RIFF_HEADER_WAVE_FMT_ID "fmt " +#define XAS_RIFF_HEADER_WAVE_DATA_ID "data" + #define XAS_RIFF_WAVE_DEFAULT_TYPE 1 #pragma pack(1) |