XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

Should the pointers to the data in XAUDIO2_BUFFER and XAUDIO2_BUFFER_WMA const?

Last post 2009-04-17 21:09 by GameDevDude. 0 replies.
  • 2009-04-17 21:09

    Should the pointers to the data in XAUDIO2_BUFFER and XAUDIO2_BUFFER_WMA const?

    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

     

Page 1 of 1 (1 items) Previous Next