Skip to content

Commit

Permalink
[AE] fixed: lock PulseAE on stream removal
Browse files Browse the repository at this point in the history
  • Loading branch information
spiff committed May 14, 2012
1 parent e2bdb1f commit c576d65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/AudioEngine/Engines/PulseAE/PulseAE.cpp
Expand Up @@ -175,6 +175,7 @@ IAEStream *CPulseAE::MakeStream(enum AEDataFormat dataFormat, unsigned int sampl

void CPulseAE::RemoveStream(IAEStream *stream)
{
CSingleLock lock(m_lock);
std::list<CPulseAEStream*>::iterator itt;

m_streams.remove((CPulseAEStream *)stream);
Expand Down

0 comments on commit c576d65

Please sign in to comment.