mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-30 22:05:12 +00:00
Fix audio player comment
PR #4572 <https://github.com/Genymobile/scrcpy/pull/4572>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user