Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[AE/CA] - fix implementation of AEStream::GetSpace. This is the real …

…fix for the paplayer problem where the next stream was started by accident when paused for a while (visible on dvdplayercodecs). Thx to jm for hammering on it and thx to gimli for the fix :)
  • Loading branch information...
commit d646c6fec436a1be0b3a82d734d1aa965a07a45f 1 parent 2f89a20
@Memphiz Memphiz authored
View
2  xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp
@@ -533,7 +533,7 @@ unsigned int CCoreAudioAEStream::GetSpace()
if (!m_valid || m_draining)
return 0;
- return m_Buffer->GetWriteSize();
+ return m_Buffer->GetWriteSize() / m_OutputBytesPerSample * m_StreamBytesPerSample;
}
double CCoreAudioAEStream::GetDelay()

0 comments on commit d646c6f

Please sign in to comment.
Something went wrong with that request. Please try again.