* Deletes the loaded music content. */
| 67 | * Deletes the loaded music content. |
| 68 | */ |
| 69 | AdlibMusic::~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. |
nothing calls this directly
no test coverage detected