Edited by lomateron, 22 June 2012 - 06:59 PM.
2 replies to this topic
#1 Members - Reputation: 197
Posted 22 June 2012 - 06:48 PM
I am doing a program were I take a .wav sound file and show the sound you hear visually using directx 10. I already have the visual part were I load the sound data into the GPU and show it visually in whatever form I want through time. This may be stupid but I cant find in the internet code for a simple way to play the sound, in the SDK there is the Xaudio2, XACT,(I don't know if direct sound can still be used, it must be the simplest way) but they look too complex for what i want, I just want to play a wav file. I need help in finding a simple code to do that. Using Visual Studio ULTIMATE yeahh...
Ad:
#2 Crossbones+ - Reputation: 1062
Posted 22 June 2012 - 07:02 PM
This is probably the easier way to play a sound: http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680(v=vs.85).aspx
Or do you need something more complex?
Or do you need something more complex?
Tiago Costa
Aqua Engine - my DirectX 11 game "engine" - In development
Aqua Engine - my DirectX 11 game "engine" - In development






