XAUDIO2_BUFFER has:
BYTE* pAudioData
and XAUDIO2_BUFFER_WMA has:
UINT32* pDecodedPacketCumulativeBytes;
Neither of these are const pointers, but I can't think of a reason they would change the data that these pointers point to. Is it safe to assume that they don't change them?
Thanks!
-Dude
PS. If any people on the Microsoft team are reading this, making those const pointers in a future version would be awesome! :-D