Fixed crash on using NUll Audio Output, fixed possible crash in OpenAL exit and minor changes in cellAudioEventQueue functions.
This commit is contained in:
@@ -44,6 +44,8 @@ void OpenALThread::Init()
|
||||
|
||||
void OpenALThread::Quit()
|
||||
{
|
||||
m_context = alcGetCurrentContext();
|
||||
m_device = alcGetContextsDevice(m_context);
|
||||
alcMakeContextCurrent(nullptr);
|
||||
alcDestroyContext(m_context);
|
||||
alcCloseDevice(m_device);
|
||||
|
||||
Reference in New Issue
Block a user