From 45e998de855512610029a6e9d43f15e3dce0344b Mon Sep 17 00:00:00 2001 From: Mike H Date: Mon, 19 Feb 2018 20:44:27 +0000 Subject: [PATCH] Add alignment note in header file --- nx/include/switch/services/audout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/services/audout.h b/nx/include/switch/services/audout.h index 5775d9d9..d9e7a62f 100644 --- a/nx/include/switch/services/audout.h +++ b/nx/include/switch/services/audout.h @@ -29,7 +29,7 @@ typedef struct AudioOutBuffer AudioOutBuffer; struct AudioOutBuffer { AudioOutBuffer* next; ///< Next buffer. - void* buffer; ///< Sample buffer. + void* buffer; ///< Sample buffer (aligned to 0x1000 bytes). u64 buffer_size; ///< Sample buffer size. u64 data_size; ///< Size of data inside the buffer. u64 data_offset; ///< Offset of data inside the buffer.