Пример #1
0
static int RunInit()
{
	// Try to run with sound
    if (bSoundOn) {
        AudSetCallback(RunGetNextSound);
        AudSoundPlay();
    } else {
        bAudOkay=0;
        AudSetCallback(NULL);
    }
	RunReset();
    
	return 0;
}
Пример #2
0
static int RunInit()
{
	// Try to run with sound
	AudSetCallback(RunGetNextSound);
	AudSoundPlay();

	RunReset();

	return 0;
}