From d10d683326161d6570eb4b905dc645a95551869f Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 1 Feb 2022 13:16:28 -0500 Subject: Reduce reliance on duplicate hardcoded constants --- include/xas/riff.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 +#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) -- cgit v1.2.3