# SDL: audio: Added some minor missing comments in struct SDL\_AudioDevice.

**URL:** <https://discourse.libsdl.org/t/sdl-audio-added-some-minor-missing-comments-in-struct-sdl-audiodevice/57110>\
**Category:** SDL Commits\
**Created:** [January 20, 2025, 11:35pm UTC](https://discourse.libsdl.org/t/sdl-audio-added-some-minor-missing-comments-in-struct-sdl-audiodevice/57110 "2025-01-20T23:35:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [January 20, 2025, 11:35pm UTC](https://discourse.libsdl.org/t/sdl-audio-added-some-minor-missing-comments-in-struct-sdl-audiodevice/57110/1 "2025-01-20T23:35:26Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/aa10e51c745d26a15dca9f772cbba97c95e572b7>

```diff
From aa10e51c745d26a15dca9f772cbba97c95e572b7 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 20 Jan 2025 17:29:15 -0500
Subject: [PATCH] audio: Added some minor missing comments in struct
 SDL_AudioDevice.

---
 src/audio/SDL_sysaudio.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/audio/SDL_sysaudio.h b/src/audio/SDL_sysaudio.h
index d36c63ad87f46..c5cce0e4c6db2 100644
--- a/src/audio/SDL_sysaudio.h
+++ b/src/audio/SDL_sysaudio.h
@@ -305,8 +305,11 @@ struct SDL_AudioDevice
 
     // The device's current audio specification
     SDL_AudioSpec spec;
+
+ // The size, in bytes, of the device's playback/recording buffer.
     int buffer_size;
 
+ // The device's channel map, or NULL for SDL default layout.
     int *chmap;
 
     // The device's default audio specification

```
