Skip to content

Commit

Permalink
paplayer: fix detection of eof in passthrough mode
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Feb 26, 2016
1 parent 416088e commit 5b3aaa2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/cores/paplayer/AudioDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ void *CAudioDecoder::GetData(unsigned int samples)

uint8_t *CAudioDecoder::GetRawData(int &size)
{
if (m_status == STATUS_ENDING)
m_status = STATUS_ENDED;

if (m_rawBufferSize)
{
size = m_rawBufferSize;
Expand Down

0 comments on commit 5b3aaa2

Please sign in to comment.