Ejemplo n.º 1
0
/*
==================
S_StartLocalSound
==================
*/
void S_Base_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) {
	if ( !s_soundStarted || s_soundMuted ) {
		return;
	}

	if ( sfxHandle < 0 || sfxHandle >= s_numSfx ) {
		Com_Printf( S_COLOR_YELLOW "S_StartLocalSound: handle %i out of range\n", sfxHandle );
		return;
	}

	S_Base_StartSound (NULL, listener_number, channelNum, sfxHandle );
}
Ejemplo n.º 2
0
Archivo: dma.c Proyecto: icanhas/yantar
static void
S_Base_StartLocalSound(Handle sfxHandle, int channelNum)
{
    if(!s_soundStarted || s_soundMuted)
        return;

    if(sfxHandle < 0 || sfxHandle >= s_numSfx) {
        comprintf(
            S_COLOR_YELLOW
            "sndstartlocalsound: handle %i out of range\n",
            sfxHandle);
        return;
    }

    S_Base_StartSound (NULL, listener_number, channelNum, sfxHandle);
}