MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / Driver_UnloadFile

Function Driver_UnloadFile

src/audio/driver.c:439–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void Driver_UnloadFile(Driver *driver)
440{
441 if (driver->contentMalloced) {
442 free(driver->content);
443 }
444
445 driver->filename[0] = '\0';
446 driver->content = NULL;
447 driver->contentMalloced = false;
448}
449
450void Driver_Music_FadeOut(void)
451{

Callers 4

Driver_Music_LoadFileFunction · 0.85
Driver_Sound_LoadFileFunction · 0.85
Driver_LoadFileFunction · 0.85

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected