Add alignment note in header file

This commit is contained in:
Mike H 2018-02-19 20:44:27 +00:00 committed by GitHub
parent 402e698d10
commit 45e998de85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ typedef struct AudioOutBuffer AudioOutBuffer;
struct AudioOutBuffer struct AudioOutBuffer
{ {
AudioOutBuffer* next; ///< Next buffer. AudioOutBuffer* next; ///< Next buffer.
void* buffer; ///< Sample buffer. void* buffer; ///< Sample buffer (aligned to 0x1000 bytes).
u64 buffer_size; ///< Sample buffer size. u64 buffer_size; ///< Sample buffer size.
u64 data_size; ///< Size of data inside the buffer. u64 data_size; ///< Size of data inside the buffer.
u64 data_offset; ///< Offset of data inside the buffer. u64 data_offset; ///< Offset of data inside the buffer.