From aed2e02f3093ccf6cbadc6b5357b0ba82b32436d Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 5 Mar 2026 08:53:56 -0500
Subject: [PATCH] testmixer: Added a warning about code quality.
(And a note of where to look for better example code.)
---
test/testmixer.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/test/testmixer.c b/test/testmixer.c
index 8d002e96..0f53fb22 100644
--- a/test/testmixer.c
+++ b/test/testmixer.c
@@ -1,3 +1,17 @@
+/*
+ PLEASE NOTE THAT THE CODE IN THIS FILE IS ATROCIOUS, DON'T USE IT AS A
+ FOUNDATION FOR YOUR OWN PROGRAMS.
+
+ This is mostly just meant to test various things in quick-and-dirty ways.
+
+ I might delete it later.
+
+ I strongly recommend you use the programs in the "examples" directory to
+ get started. You can see them running in your web browser at:
+
+ https://examples.libsdl.org/SDL3_mixer/
+*/
+
#define SDL_MAIN_USE_CALLBACKS 1 /* use the callbacks instead of main() */
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>