MCPcopy Create free account
hub / github.com/JACoders/OpenJK / S_UnCacheDynamicMusic

Function S_UnCacheDynamicMusic

code/client/snd_dma.cpp:4074–4080  ·  view source on GitHub ↗

called only by snd_shutdown (from snd_restart or app exit)

Source from the content-addressed store, hash-verified

4072// called only by snd_shutdown (from snd_restart or app exit)
4073//
4074void S_UnCacheDynamicMusic( void )
4075{
4076 for (int i = eBGRNDTRACK_DATABEGIN; i != eBGRNDTRACK_DATAEND; i++)
4077 {
4078 FreeMusic( &tMusic_Info[i]);
4079 }
4080}
4081
4082static qboolean S_StartBackgroundTrack_Actual( MusicInfo_t *pMusicInfo, qboolean qbDynamic, const char *intro, const char *loop )
4083{

Callers 1

snd_dma.cppFile · 0.70

Calls 1

FreeMusicFunction · 0.70

Tested by

no test coverage detected