mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-12 02:59:02 +00:00
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>
This commit is contained in:
parent
4755b97908
commit
39544f34b4
10 changed files with 86 additions and 21 deletions
|
@ -7,6 +7,7 @@ _scrcpy() {
|
|||
--audio-codec=
|
||||
--audio-codec-options=
|
||||
--audio-encoder=
|
||||
--audio-output-buffer=
|
||||
-b --video-bit-rate=
|
||||
--crop=
|
||||
-d --select-usb
|
||||
|
@ -121,6 +122,7 @@ _scrcpy() {
|
|||
|-b|--video-bit-rate \
|
||||
|--audio-codec-options \
|
||||
|--audio-encoder \
|
||||
|--audio-output-buffer \
|
||||
|--crop \
|
||||
|--display \
|
||||
|--display-buffer \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue