예제 #1
0
void cSoundStreamRenderer::Release()
{
    ClearDataBindings();

    ReleaseSources();
    ReleaseBuffers();
    
    m_BufferManager = NULL;
    m_SourceManager = NULL;
};
예제 #2
0
FSoundManager::~FSoundManager()
{
    StopAll();
    Clear();
    ReleaseSources();
    free( lpSources );
    lpSources = NULL;
    free( lpSoundHash );
    lpSoundHash = NULL;
    
    alcDestroyContext( lpContext );
    alcCloseDevice( lpDevice );
}