scrcpy/app/src
Romain Vimont 39544f34b4 Add --audio-output-buffer
On some systems, the SDL audio callback is not called frequently enough
(for example it requests 5ms of samples every 10ms), because the output
buffer is too small.

By default, we want to use a small value (5ms) to minimize latency and
buffer underrun, but if it does not work well, users need a way to
increase it.

Refs #3793 <https://github.com/Genymobile/scrcpy/issues/3793>
2023-03-14 23:54:07 +01:00
..
adb Use random name for device socket 2023-01-27 21:51:59 +01:00
android Fix typos 2021-04-18 14:36:31 +02:00
sys Use /dev/null instead of closing fds 2022-09-25 15:42:33 +02:00
trait Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
usb Use VecDeque in aoa_hid 2023-03-10 22:22:15 +01:00
util Simplify bytebuf naming 2023-03-12 02:04:57 +01:00
audio_player.c Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
audio_player.h Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
cli.c Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
cli.h Move scrcpy option structs to options.h 2021-10-27 18:43:47 +02:00
clock.c Accept clock estimation with a single point 2023-03-10 22:22:15 +01:00
clock.h Fix typo in clock comments 2021-10-29 12:21:34 +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 thread priority API 2023-03-10 22:22:16 +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 Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
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 Optionally do not delay the first frame 2023-03-10 22:22:15 +01:00
delay_buffer.h Optionally do not delay the first frame 2023-03-10 22:22:15 +01:00
demuxer.c Fix build issue on FFmpeg < 5.1 2023-03-12 08:54:42 +01:00
demuxer.h Use packet source trait in demuxer 2023-03-10 22:22:15 +01:00
device_msg.c Rename buffer_util.h to binary.h 2022-08-28 15:23:08 +02:00
device_msg.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
events.h Pass video size as codec metadata 2023-03-11 15:57:25 +01: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 Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
frame_buffer.c Fix code style 2022-01-27 19:02:07 +01:00
frame_buffer.h Extract current video_buffer to frame_buffer 2021-07-14 14:22:32 +02:00
icon.c Fix error message on icon loading failure 2023-02-27 20:51:54 +01:00
icon.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
input_events.h Force mouse source when --forward-all-clicks 2022-12-22 11:26:26 +01:00
input_manager.c Forward action button to device 2023-01-30 20:57:54 +01:00
input_manager.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
keyboard_inject.c Use sc_ prefix for control_msg enums 2022-01-27 16:47:51 +01:00
keyboard_inject.h Use sc_ prefix for controller 2022-01-14 22:17:30 +01:00
main.c Move FFmpeg callback initialization 2023-03-10 22:22:15 +01:00
mouse_inject.c Forward action button to device 2023-01-30 20:57:54 +01:00
mouse_inject.h Use sc_ prefix for controller 2022-01-14 22:17:30 +01:00
opengl.c Fix OpenGL ES prefix skip 2022-03-30 12:01:01 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
options.h Add --audio-output-buffer 2023-03-14 23:54:07 +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 Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
recorder.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
scrcpy.c Add --audio-output-buffer 2023-03-14 23:54:07 +01:00
scrcpy.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen.c Fix an "expected expression" error 2023-03-12 08:26:17 +01:00
screen.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
server.c Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
server.h Pass video size as codec metadata 2023-03-11 15:57:25 +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 Print libusb version on --version 2022-02-09 10:15:19 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00