Unverified Commit 0bdeaaf2 authored by Wolle's avatar Wolle Committed by GitHub

inbuff fill routine

parent 33e08d48
......@@ -2821,7 +2821,7 @@ void Audio::processLocalFile() {
return;
}
else{
if((InBuff.freeSpace() > maxFrameSize) && (m_file_size - byteCounter) > maxFrameSize){
if((InBuff.freeSpace() > maxFrameSize) && (m_file_size - byteCounter) > maxFrameSize && availableBytes){
// fill the buffer before playing
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment