Skip to content

Commit

Permalink
And print the message in case of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
drfiemost committed Oct 6, 2024
1 parent f97fcd7 commit 5d7023c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@ bool ConsolePlayer::play()
retSize = m_engine.play(buffer, length);
if ((retSize < length) || !m_engine.isPlaying())
{
cerr << m_engine.error();
m_state = playerError;
return false;
}
Expand Down

0 comments on commit 5d7023c

Please sign in to comment.