scrcpy/app/src
Romain Vimont d74aa24fd5 Improve audio compensation thresholds
Use different threshold for enabling and disabling compensation.

Concretely, enable compensation if the difference between the average
and the target buffering levels exceeds 4 ms (instead of 1 ms). This
avoids unnecessary compensation due to small noise in buffering level
estimation.

But keep a smaller threshold (1 ms) for disabling compensation, so that
the buffering level is restored closer to the target value. This avoids
to keep the actual level close to the compensation threshold.
2024-02-16 11:33:21 +01:00
..
adb Fix memory leak on error 2024-02-01 09:19:47 +01:00
android
sys
trait Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
usb Fix scrcpy_otg() return value on error 2024-01-15 22:01:19 +01:00
util Replace locks by atomics in audio player 2024-02-16 11:33:21 +01:00
audio_player.c Improve audio compensation thresholds 2024-02-16 11:33:21 +01:00
audio_player.h Replace locks by atomics in audio player 2024-02-16 11:33:21 +01:00
cli.c Limit buffering time value 2024-02-16 11:33:21 +01:00
cli.h Add --pause-on-exit 2023-10-11 09:43:44 +02:00
clock.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Add --record-orientation 2023-11-23 23:34:46 +01:00
control_msg.c Forward action button to device 2023-01-30 20:57:54 +01:00
control_msg.h Forward action button to device 2023-01-30 20:57:54 +01:00
controller.c Use VecDeque in controller 2023-03-10 22:22:15 +01:00
controller.h Use VecDeque in controller 2023-03-10 22:22:15 +01:00
coords.h
decoder.c Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
decoder.h Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
delay_buffer.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
delay_buffer.h Optionally do not delay the first frame 2023-03-10 22:22:15 +01:00
demuxer.c Fix AV1 demuxing 2023-12-02 12:20:01 +01:00
demuxer.h Use packet source trait in demuxer 2023-03-10 22:22:15 +01:00
device_msg.c
device_msg.h
display.c Add --display-orientation 2023-11-23 23:27:28 +01:00
display.h Add --display-orientation 2023-11-23 23:27:28 +01:00
events.h Add --time-limit 2023-06-10 16:04:51 +02:00
file_pusher.c Stop and join sc_file_pusher only if initialized 2023-03-10 22:45:48 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Initialize interrupted field explicitly 2023-03-10 22:33:52 +01:00
fps_counter.h
frame_buffer.c
frame_buffer.h
icon.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00
icon.h
input_events.h
input_manager.c Simulate tilt multitouch event by pressing Shift 2023-12-15 22:12:07 +01:00
input_manager.h Simulate tilt multitouch event by pressing Shift 2023-12-15 22:12:07 +01:00
keyboard_inject.c
keyboard_inject.h
main.c Declare local functions as static 2023-10-24 23:06:57 +02:00
mouse_inject.c Forward action button to device 2023-01-30 20:57:54 +01:00
mouse_inject.h
opengl.c
opengl.h
options.c Add --record-orientation 2023-11-23 23:34:46 +01:00
options.h Add --record-orientation 2023-11-23 23:34:46 +01:00
packet_merger.c Extract packet merging 2023-02-11 09:44:33 +01:00
packet_merger.h Extract packet merging 2023-02-11 09:44:33 +01:00
receiver.c Prefix receiver by sc_ 2023-02-18 09:37:31 +01:00
receiver.h Prefix receiver by sc_ 2023-02-18 09:37:31 +01:00
recorder.c Add --record-orientation 2023-11-23 23:34:46 +01:00
recorder.h Add --record-orientation 2023-11-23 23:34:46 +01:00
scrcpy.c Do not fail if SDL_INIT_VIDEO fails without video 2023-11-29 12:16:05 +01:00
scrcpy.h
screen.c Add --display-orientation 2023-11-23 23:27:28 +01:00
screen.h Add --display-orientation 2023-11-23 23:27:28 +01:00
server.c Add support for FLAC audio codec 2023-11-15 12:02:57 +01:00
server.h Add support for high frame rate camera capture 2023-10-31 15:57:06 +01:00
v4l2_sink.c Fix v4l2 sink 2023-03-12 12:45:49 +01:00
v4l2_sink.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
version.c
version.h