Unload current .eal file */
| 5744 | Unload current .eal file |
| 5745 | */ |
| 5746 | static void UnloadEALFile() |
| 5747 | { |
| 5748 | HRESULT hr; |
| 5749 | |
| 5750 | if ((!s_lpEAXManager) || (!s_bEAX)) |
| 5751 | return; |
| 5752 | |
| 5753 | hr = s_lpEAXManager->FreeDataSet(0); |
| 5754 | s_bEALFileLoaded = false; |
| 5755 | |
| 5756 | if (s_lpEnvTable) |
| 5757 | { |
| 5758 | Z_Free(s_lpEnvTable); |
| 5759 | s_lpEnvTable = NULL; |
| 5760 | } |
| 5761 | |
| 5762 | return; |
| 5763 | } |
| 5764 | #endif |
| 5765 | |
| 5766 | #ifdef USE_OPENAL |
no test coverage detected