Hey Chili and others, I have made an update to my Pong game, and it doesn't work right. It's supposed to play a sound when the paddles hit. I didn't want to use either of the sound files that chili had in the folder, so I found a file that I did like, added it to the Chili DirectX Framework folder. I created the sound properly,
and I also used it properly,
but for some reason it gives me this error that I can't really debug by myself, and it points to this line of code.
Code: Select all
// Test the buffer format against the direct sound 8 interface and create the secondary buffer.
result = tempBuffer->QueryInterface( IID_IDirectSoundBuffer8,(void**)&pSecondaryBuffer );
assert( !FAILED( result ) );
I also uploaded the file so you guys can take a look at it for yourself. I thought that the file that I was using might be too big or something, but I'm mostly likely wrong