9 int main(int argc
, char *argv
[])
11 cout
<<"Audio test"<<endl
;
19 catch (GeneralException e
)
21 cout
<<e
.errText
<<endl
;
32 if (bNoError
)Audio
->PlayMusic(MUSIC_SLOW
);
35 if (bNoError
)Audio
->PlayMusic(MUSIC_FAST
);
38 if (bNoError
)Audio
->PlaySound(SOUND_BUTTON_SUCCESS
);
41 if (bNoError
)Audio
->PlaySound(SOUND_BUTTON_HOVER
);
44 if (bNoError
)Audio
->PlaySound(SOUND_GAME_OVER
);
47 if (bNoError
)Audio
->PlaySound(SOUND_GAME_VICTORY
);
50 if (bNoError
)Audio
->PlaySound(-4);
53 if (bNoError
)Audio
->PlaySound(7);
56 if (bNoError
)Audio
->StopMusic();
61 if (bNoError
)delete Audio
;