Wednesday, November 09, 2011 2:49 PM
I have an application to the kinect in C + + that needs to run an audio file in wav format. I tried using the Allegro package, but if I put the # include <Allegro.h>, the code will not compile! Anyone know any other way to run in an application for audio kinect in C + +?
Thanks for your help!
Wednesday, December 14, 2011 11:24 PMOwner
Sorry for the really late reply. We're not experts on Allegro package, but if you give us more details about what exactly your problem was. E.g.: what was the exact compiler error you saw, then we might be able to help you.
Also, please paste some code of the top of your file where you #include <allegro.h> and other headers so we can understand problem better.
I'm here to help
Thursday, April 05, 2012 10:21 PMOwner
There are lots of options for playing sounds from windows applications, and Kinect based applications are still just windows apps. If what you need is simple, you can use the PlaySound API. (http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680(v=vs.85).aspx)
If you need something more complex, you can either use XNA (managed) or you can use DirectSound or DirectMediaObjects.
- Marked As Answer by Chris White _MSFT_Microsoft Employee, Owner Thursday, April 05, 2012 10:21 PM