Fix flushOnFrame producing times where 0 is peered out#2339
Fix flushOnFrame producing times where 0 is peered out#2339madebymozart wants to merge 1 commit intomainfrom
Conversation
flamme
left a comment
There was a problem hiding this comment.
Why this will cause glitch? In aaudio framework, if it fails calling flushFromFrame, there is nothing changed.
|
So for some reason, this caused and issue where the audio would just "stop" when switching between songs, but it'd only happen in a couple of occasions. Since putting this fix in, I haven't heard it, but that could also be that I just haven't encountered it again. |
This doesn't sound right to me. It will be better to capture a bugreport and file a bug to me if calling |
|
Then we ca close this, might have been a old ticket for this one |
This addresses and issue where 0 frame from the flushonframe were being called, this causing audio to drop (sometimes)
10-14 09:05:04.351 12339 12339 E AudioStreamInternalPlay_Client: flushFromFrame_l() do not have enough data, safePosition=5760, frameWritten=0