azaka / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 1 forks source link

OpenAL bug #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.call gkSource::pause(void) in Engine/Sound/gkSource.cpp will cause an 
critical dead lock, as method gkSource::isPaused(void) use a 
gkCriticalSection::Lock lock(m_cs) too

What is the expected output? What do you see instead?
pause the sound

What version of the product are you using? On what operating system?
latest version

Please provide any additional information below.

to fix this problem, we can remove this line of code in  the method 
gkSource::isPaused(void)

bool gkSource::isPaused(void) const
{
        ----gkCriticalSection::Lock lock(m_cs);
        return m_playback ? m_playback->isSuspended() : false;
}

Original issue reported on code.google.com by kizan...@gmail.com on 8 Oct 2012 at 2:37

GoogleCodeExporter commented 9 years ago
kizanliu

Applied to revision r1297. Thanks.

Sincerely,
Danil

Original comment by KAI.TING...@gmail.com on 21 May 2013 at 6:32