void cSoundStreamRenderer::Release() { ClearDataBindings(); ReleaseSources(); ReleaseBuffers(); m_BufferManager = NULL; m_SourceManager = NULL; };
FSoundManager::~FSoundManager() { StopAll(); Clear(); ReleaseSources(); free( lpSources ); lpSources = NULL; free( lpSoundHash ); lpSoundHash = NULL; alcDestroyContext( lpContext ); alcCloseDevice( lpDevice ); }