Commit 01302b97 authored by David Reid's avatar David Reid

Fix a parameter order error.

This did not affect functionality at all because the implementation of
the relevant function is just a simple bitwise OR.
parent b5f1ff12
...@@ -56734,7 +56734,7 @@ MA_API ma_result ma_rb_commit_read(ma_rb* pRB, size_t sizeInBytes) ...@@ -56734,7 +56734,7 @@ MA_API ma_result ma_rb_commit_read(ma_rb* pRB, size_t sizeInBytes)
newReadOffsetLoopFlag ^= 0x80000000; newReadOffsetLoopFlag ^= 0x80000000;
} }
ma_atomic_exchange_32(&pRB->encodedReadOffset, ma_rb__construct_offset(newReadOffsetLoopFlag, newReadOffsetInBytes)); ma_atomic_exchange_32(&pRB->encodedReadOffset, ma_rb__construct_offset(newReadOffsetInBytes, newReadOffsetLoopFlag));
return MA_SUCCESS; return MA_SUCCESS;
} }
...@@ -56816,7 +56816,7 @@ MA_API ma_result ma_rb_commit_write(ma_rb* pRB, size_t sizeInBytes) ...@@ -56816,7 +56816,7 @@ MA_API ma_result ma_rb_commit_write(ma_rb* pRB, size_t sizeInBytes)
newWriteOffsetLoopFlag ^= 0x80000000; newWriteOffsetLoopFlag ^= 0x80000000;
} }
ma_atomic_exchange_32(&pRB->encodedWriteOffset, ma_rb__construct_offset(newWriteOffsetLoopFlag, newWriteOffsetInBytes)); ma_atomic_exchange_32(&pRB->encodedWriteOffset, ma_rb__construct_offset(newWriteOffsetInBytes, newWriteOffsetLoopFlag));
return MA_SUCCESS; return MA_SUCCESS;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment