src/sgp/SoundMan.cc
/* Stops a sound referred to by its channel.  This function is the only one
 * that should be deallocating sample handles. The random sounds have to have
 * their counters maintained, and using this as the central function ensures
 * that they stay in sync.
 *
 * Returns: TRUE if the sample was stopped, FALSE if it could not be found. */
Stops a sound referred to by its channel.  This function is the only one
that should be deallocating sample handles. The random sounds have to have
their counters maintained, and using this as the central function ensures
that they stay in sync.

TRUE if the sample was stopped, FALSE if it could not be found.
Stops a sound referred to by its channel . This function is the only one that should be deallocating sample handles . The random sounds have to have their counters maintained and using this as the central function ensures that they stay in sync . TRUE if the sample was stopped FALSE if it could not be found .
static BOOLEAN SoundStopChannel(SOUNDTAG* channel)
{
	if (!fSoundSystemInit) return FALSE;
	if (channel->pSample == NULL) return FALSE;
	SLOGD("stopping channel channel %u", channel - pSoundList);
	channel->State = CHANNEL_STOP;
	return TRUE;
}
static BOOLEAN SoundStopChannel ( SOUNDTAG * channel ) { if ( ! fSoundSystemInit ) return FALSE ; if ( channel -> pSample == NULL ) return FALSE ; SLOGD ( " " , channel - pSoundList ) ; channel -> State = CHANNEL_STOP ; return TRUE ; }
Stops a sound referred to by its channel.
Stops a sound referred to by its channel .