Fundamentals of Audio and Video Programming for Games (Pro-Developer)
For now, leave the
CConcertina Concertina; // Create one Concertina object.
Now place the initConcertina and endConcertina calls into your own game s initialization and termination functions.
bool initConcertina(HWND hDlg);
The only input parameter is the Windows handle. The initConcertina method basically takes the tables you have previously filled out, and creates a suitable sound environment.
void endConcertina(bool fPrintReport = false);
This method cleans up everything. Set the optional parameter to true for a printed report, which will be sent to the file