If the audio loop stops inside an audio frame, the leftover buffer contains the
end of the frame, which is not looped. The length supposed to be the part which
was not written to the loop buffer, so we need to drain exactly that number of
bytes from the leftover buffer.
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit b33a594160
)
release/6.1
parent
b45da36a29
commit
2b6be6ba90
1 changed files with 2 additions and 3 deletions
Loading…
Reference in new issue