* Unload wave data. */
| 97 | * Unload wave data. |
| 98 | */ |
| 99 | void Unload() { |
| 100 | // Protect against calling UnloadWave() twice. |
| 101 | if (data != nullptr) { |
| 102 | ::UnloadWave(*this); |
| 103 | data = nullptr; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Copy a wave to a new wave. |
nothing calls this directly
no outgoing calls
no test coverage detected