scrcpy/app/src
Romain Vimont b5cc6f2be5 Set default audio-output-buffer to 10ms
Change the default value of `--audio-output-buffer` from 5ms to 10ms.

In practice, the audio output backends do not support values below 10ms.
When the setting is set to 5ms, several successive calls are made every
10ms or more.

Additionally, a 5ms output buffer can cause audio glitches on some
computers.

Refs SDL/#13319 <https://github.com/libsdl-org/SDL/issues/13319>
Refs SDL/#13397 <https://github.com/libsdl-org/SDL/issues/13397>
Fixes #3793 <https://github.com/Genymobile/scrcpy/issues/3793>
PR #6775 <https://github.com/Genymobile/scrcpy/pull/6775>
2026-04-17 21:34:18 +02:00
..
adb Detect TCP devices provided by mDNS 2026-02-12 20:08:46 +01:00
android Fix typos 2024-08-05 16:13:02 +02:00
hid Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
sys Use proper argument serialization for Windows 2026-02-12 20:00:59 +01:00
trait Fix segfault on rotation while recording 2026-02-21 10:45:12 +01:00
uhid Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
usb Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
util Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
audio_player.c Do not attempt to increase audio thread priority 2026-01-17 21:30:19 +01:00
audio_player.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
audio_regulator.c Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
audio_regulator.h Handle audio stream discontinuities 2025-03-29 14:54:35 +01:00
cli.c Set default audio-output-buffer to 10ms 2026-04-17 21:34:18 +02:00
cli.h Keep Windows terminal open on error 2026-02-21 12:17:31 +01:00
clock.c Improve delay buffer startup 2024-09-12 11:06:13 +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 Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
control_msg.c Add shortcuts to change the camera zoom 2026-01-13 20:40:58 +01:00
control_msg.h Add shortcuts to change the camera zoom 2026-01-13 20:40:58 +01:00
controller.c Introduce non-droppable control messages 2024-09-15 11:21:56 +02:00
controller.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Detect frame size mismatch in decoder 2026-01-10 11:53:22 +01:00
decoder.h Detect frame size mismatch in decoder 2026-01-10 11:53:22 +01:00
delay_buffer.c Rename "hole" to "uninitialized" in vector APIs 2026-03-17 20:46:40 +01:00
delay_buffer.h Properly handle session packets in delay_buffer 2026-01-10 11:53:22 +01:00
demuxer.c Replace assertion with a runtime check 2026-04-11 13:51:25 +02:00
demuxer.h Cleanup includes 2024-12-23 12:19:47 +01:00
device_msg.c Fix UHID_OUTPUT message parsing 2025-10-09 09:35:14 +02:00
device_msg.h Cleanup includes 2024-12-23 12:19:47 +01:00
disconnect.c Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
disconnect.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
events.c Add utility to push an SDL event with data 2026-03-17 18:40:35 +01:00
events.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
file_pusher.c Cleanup includes 2024-12-23 12:19:47 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Cleanup includes 2024-12-23 12:19:47 +01:00
fps_counter.h Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.c Cleanup includes 2024-12-23 12:19:47 +01:00
frame_buffer.h Cleanup includes 2024-12-23 12:19:47 +01:00
icon.c Add filename parameter to icon loading 2026-03-17 18:40:34 +01:00
icon.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
input_events.h Remove references to --rotation 2026-04-10 19:29:40 +02:00
input_manager.c Fix device rotation shortcut 2026-04-03 21:35:26 +02:00
input_manager.h Display disconnected icon before closing 2026-03-17 18:40:35 +01:00
keyboard_sdk.c Cleanup includes 2024-12-23 12:19:47 +01:00
keyboard_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
main.c Keep Windows terminal open on error 2026-02-21 12:17:31 +01:00
mouse_capture.c Remove obsolete workaround for macOS 2026-01-08 20:40:51 +01:00
mouse_capture.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
mouse_sdk.c Extend value range for SDK mouse scrolling 2025-06-20 19:54:16 +02:00
mouse_sdk.h Cleanup includes 2024-12-23 12:19:47 +01:00
opengl.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
opengl.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
options.c Set default audio-output-buffer to 10ms 2026-04-17 21:34:18 +02:00
options.h Disable retry capture at lower resolution 2026-04-14 22:50:28 +02:00
packet_merger.c Cleanup includes 2024-12-23 12:19:47 +01:00
packet_merger.h Cleanup includes 2024-12-23 12:19:47 +01:00
receiver.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
receiver.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
recorder.c Fix incorrect assertion in recording 2026-04-11 14:54:52 +02:00
recorder.h Cleanup includes 2024-12-23 12:19:47 +01:00
scrcpy.c Disable retry capture at lower resolution 2026-04-14 22:50:28 +02:00
scrcpy.h Cleanup includes 2024-12-23 12:19:47 +01:00
screen.c Fix aspect ratio accuracy 2026-04-17 18:30:25 +02:00
screen.h Add option to disable window aspect ratio lock 2026-04-10 19:35:43 +02:00
server.c Disable retry capture at lower resolution 2026-04-14 22:50:28 +02:00
server.h Disable retry capture at lower resolution 2026-04-14 22:50:28 +02:00
shortcut_mod.h Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
texture.c Add function to delete current texture 2026-03-17 18:40:35 +01:00
texture.h Add function to delete current texture 2026-03-17 18:40:35 +01:00
v4l2_sink.c Add session metadata for the video stream 2026-01-10 11:53:22 +01:00
v4l2_sink.h Cleanup includes 2024-12-23 12:19:47 +01:00
version.c Migrate from SDL2 to SDL3 2026-01-06 16:22:48 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00