mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-02 14:19:05 +00:00
Fix audio player comment
PR #4572 <https://github.com/Genymobile/scrcpy/pull/4572>
This commit is contained in:
parent
edac4b8a9a
commit
dfa3f97a87
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ sc_audio_player_frame_sink_push(struct sc_frame_sink *sink,
|
||||||
diff = 0;
|
diff = 0;
|
||||||
} else if (diff < 0 && can_read < ap->target_buffering) {
|
} else if (diff < 0 && can_read < ap->target_buffering) {
|
||||||
// Do not accelerate if the instant buffering level is below
|
// Do not accelerate if the instant buffering level is below
|
||||||
// the average, this would increase underflow
|
// the target, this would increase underflow
|
||||||
diff = 0;
|
diff = 0;
|
||||||
}
|
}
|
||||||
// Compensate the diff over 4 seconds (but will be recomputed after
|
// Compensate the diff over 4 seconds (but will be recomputed after
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue