From 473d7fca5ccb7080813e9d36d94d5f8aab1f4e40 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 14 Aug 2023 11:18:22 -0400
Subject: [PATCH] include: Fixed some documentation errors.
Reference https://github.com/libsdl-org/sdlwiki/issues/407
---
include/SDL_mixer.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/include/SDL_mixer.h b/include/SDL_mixer.h
index e8180cf2..59044ef3 100644
--- a/include/SDL_mixer.h
+++ b/include/SDL_mixer.h
@@ -929,7 +929,7 @@ extern DECLSPEC SDL_bool SDLCALL Mix_HasChunkDecoder(const char *name);
* These return values are static, read-only data; do not modify or free it.
* The pointers remain valid until you call Mix_CloseAudio().
*
- * \returns number of chunk decoders available.
+ * \returns number of music decoders available.
*
* \since This function is available since SDL_mixer 2.0.0.
*
@@ -2027,8 +2027,7 @@ extern DECLSPEC int SDLCALL Mix_Volume(int channel, int volume);
*
* The default volume for a chunk is MIX_MAX_VOLUME (no attenuation).
*
- * \param channel the channel on set/query the volume on, or -1 for all
- * channels.
+ * \param chunk the chunk whose volume to adjust.
* \param volume the new volume, between 0 and MIX_MAX_VOLUME, or -1 to query.
* \returns the previous volume. If the specified volume is -1, this returns
* the current volume. If `chunk` is NULL, this returns -1.