All replies

You haven't specified, but based on the use of GetState without a second parameter, you are using XAudio 2.7 on Windows desktop rather than XAudio 2.8 on a Windows 8.x Store, Windows phone 8.x, or Xbox One, correct?