Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[ae/darwin] we don't need another mutex when we already have one

  • Loading branch information...
commit ca63894383b9a86eff7cc8c8bdbf238b3ab7a561 1 parent 8858509
Jonathan Marshall authored
View
1  xbmc/cores/AudioEngine/Sinks/AESinkDARWINIOS.cpp
@@ -252,7 +252,6 @@ unsigned int CAAudioUnitSink::write(uint8_t *data, unsigned int frames)
void CAAudioUnitSink::drain()
{
- CCriticalSection mutex;
unsigned int bytes = m_buffer->GetReadSize();
while (bytes)
{
View
1  xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp
@@ -576,7 +576,6 @@ unsigned int CAESinkDARWINOSX::AddPackets(uint8_t *data, unsigned int frames, bo
void CAESinkDARWINOSX::Drain()
{
- CCriticalSection mutex;
int bytes = m_buffer->GetReadSize();
while (bytes)
{
Please sign in to comment.
Something went wrong with that request. Please try again.