MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / ~AdlibMusic

Method ~AdlibMusic

src/Engine/AdlibMusic.cpp:69–83  ·  view source on GitHub ↗

* Deletes the loaded music content. */

Source from the content-addressed store, hash-verified

67 * Deletes the loaded music content.
68 */
69AdlibMusic::~AdlibMusic()
70{
71 if (opl[0])
72 {
73 stop();
74 OPLDestroy(opl[0]);
75 opl[0] = 0;
76 }
77 if (opl[1])
78 {
79 OPLDestroy(opl[1]);
80 opl[1] = 0;
81 }
82 delete[] _data;
83}
84
85/**
86 * Loads a music file from a specified filename.

Callers

nothing calls this directly

Calls 1

OPLDestroyFunction · 0.85

Tested by

no test coverage detected