src/sgp/SoundMan.cc
// Frees up a sample referred to by its index slot number.
Frees up a sample referred to by its index slot number.
Frees up a sample referred to by its index slot number .
static void SoundFreeSample(SAMPLETAG* s)
{
	if (!(s->uiFlags & SAMPLE_ALLOCATED)) return;
	assert(s->uiInstances == 0);
	DecreaseSoundMemoryUsedBySample(s);
	MemFree(s->pData);
	*s = SAMPLETAG{};
}
static void SoundFreeSample ( SAMPLETAG * s ) { if ( ! ( s -> uiFlags & SAMPLE_ALLOCATED ) ) return ; assert ( s -> uiInstances == 0 ) ; DecreaseSoundMemoryUsedBySample ( s ) ; MemFree ( s -> pData ) ; * s = SAMPLETAG { } ; }
Frees up a sample referred to by its index slot number.
Frees up a sample referred to by its index slot number .