Today’s stuff.
- Imported the sound example code from P2DG chapter 7 into MSVC and successfully compiled.
- And runs! With sound!
-
- Next we try to put the audio class into a console app (main as opposed to winmain) and see if that can be made to work.
- That went pretty smoothly. I had to add the DirectX “include” directories, add stdafx.h to the audio.cpp file and cast some char* to LPWSTR. The next step is to fill out the main() so that the audio is initialized and then run a loop to send different audio commands. A good task for Monday.