I'll pop it in with those other minor fixes - just about to force push here
:)


On Sun, Feb 2, 2014 at 10:25 PM, Rainer Hochecker
<notifications@github.com>wrote:

> In xbmc/cores/AudioEngine/Sinks/AESinkDARWINOSX.cpp:
>
> > +  if (!m_buffer)
> > +    return 0;
> > +
> > +  if (!hasAudio)
> > +    return frames;
> > +
> > +  /* TODO: Should we check for draining?? */
> > +
> > +  if (!m_buffer->GetWriteSize())
> > +  { // no space to write - wait for no more than 5 times the space we need
> > +    m_bufferEvent.WaitMSec(5000 * frames / m_format.m_sampleRate);
> > +  }
> > +
> > +  unsigned int write_frames = std::min(frames, m_buffer->GetWriteSize() / m_format.m_frameSize);
> > +  if (write_frames)
> > +    m_buffer->Write(data, write_frames * m_format.m_frameSize);
>
> Ok, are you going to pr this or do you want me to do this?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/xbmc/xbmc/pull/3998/files#r9369081>
> .
>