mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
Fix typos
Refs <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077968#27> PR #5171 <https://github.com/Genymobile/scrcpy/pull/5171> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
44b3fd82b1
commit
dd47cefa47
3 changed files with 8 additions and 8 deletions
|
@ -29,7 +29,7 @@ Default is 128K (128000).
|
||||||
.BI "\-\-audio\-buffer " ms
|
.BI "\-\-audio\-buffer " ms
|
||||||
Configure the audio buffering delay (in milliseconds).
|
Configure the audio buffering delay (in milliseconds).
|
||||||
|
|
||||||
Lower values decrease the latency, but increase the likelyhood of buffer underrun (causing audio glitches).
|
Lower values decrease the latency, but increase the likelihood of buffer underrun (causing audio glitches).
|
||||||
|
|
||||||
Default is 50.
|
Default is 50.
|
||||||
|
|
||||||
|
@ -379,7 +379,7 @@ Default is 27183:27199.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-pause\-on\-exit\fR[=\fImode\fR]
|
\fB\-\-pause\-on\-exit\fR[=\fImode\fR]
|
||||||
Configure pause on exit. Possible values are "true" (always pause on exit), "false" (never pause on exit) and "if-error" (pause only if an error occured).
|
Configure pause on exit. Possible values are "true" (always pause on exit), "false" (never pause on exit) and "if-error" (pause only if an error occurred).
|
||||||
|
|
||||||
This is useful to prevent the terminal window from automatically closing, so that error messages can be read.
|
This is useful to prevent the terminal window from automatically closing, so that error messages can be read.
|
||||||
|
|
||||||
|
|
|
@ -633,7 +633,7 @@ enum android_keycode {
|
||||||
* Toggles between BS and CS digital satellite services. */
|
* Toggles between BS and CS digital satellite services. */
|
||||||
AKEYCODE_TV_SATELLITE_SERVICE = 240,
|
AKEYCODE_TV_SATELLITE_SERVICE = 240,
|
||||||
/** Toggle Network key.
|
/** Toggle Network key.
|
||||||
* Toggles selecting broacast services. */
|
* Toggles selecting broadcast services. */
|
||||||
AKEYCODE_TV_NETWORK = 241,
|
AKEYCODE_TV_NETWORK = 241,
|
||||||
/** Antenna/Cable key.
|
/** Antenna/Cable key.
|
||||||
* Toggles broadcast input source between antenna and cable. */
|
* Toggles broadcast input source between antenna and cable. */
|
||||||
|
|
|
@ -156,7 +156,7 @@ static const struct sc_option options[] = {
|
||||||
.argdesc = "ms",
|
.argdesc = "ms",
|
||||||
.text = "Configure the audio buffering delay (in milliseconds).\n"
|
.text = "Configure the audio buffering delay (in milliseconds).\n"
|
||||||
"Lower values decrease the latency, but increase the "
|
"Lower values decrease the latency, but increase the "
|
||||||
"likelyhood of buffer underrun (causing audio glitches).\n"
|
"likelihood of buffer underrun (causing audio glitches).\n"
|
||||||
"Default is 50.",
|
"Default is 50.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -654,7 +654,7 @@ static const struct sc_option options[] = {
|
||||||
.optional_arg = true,
|
.optional_arg = true,
|
||||||
.text = "Configure pause on exit. Possible values are \"true\" (always "
|
.text = "Configure pause on exit. Possible values are \"true\" (always "
|
||||||
"pause on exit), \"false\" (never pause on exit) and "
|
"pause on exit), \"false\" (never pause on exit) and "
|
||||||
"\"if-error\" (pause only if an error occured).\n"
|
"\"if-error\" (pause only if an error occurred).\n"
|
||||||
"This is useful to prevent the terminal window from "
|
"This is useful to prevent the terminal window from "
|
||||||
"automatically closing, so that error messages can be read.\n"
|
"automatically closing, so that error messages can be read.\n"
|
||||||
"Default is \"false\".\n"
|
"Default is \"false\".\n"
|
||||||
|
@ -1349,7 +1349,7 @@ print_exit_status(const struct sc_exit_status *status, unsigned cols) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(strlen(text) >= 9); // Contains at least the initial identation
|
assert(strlen(text) >= 9); // Contains at least the initial indentation
|
||||||
|
|
||||||
// text + 9 to remove the initial indentation
|
// text + 9 to remove the initial indentation
|
||||||
printf(" %3d %s\n", status->value, text + 9);
|
printf(" %3d %s\n", status->value, text + 9);
|
||||||
|
@ -2760,7 +2760,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// If mouse bindings are not explictly set, configure default bindings
|
// If mouse bindings are not explicitly set, configure default bindings
|
||||||
if (opts->mouse_bindings.pri.right_click == SC_MOUSE_BINDING_AUTO) {
|
if (opts->mouse_bindings.pri.right_click == SC_MOUSE_BINDING_AUTO) {
|
||||||
assert(opts->mouse_bindings.pri.middle_click == SC_MOUSE_BINDING_AUTO);
|
assert(opts->mouse_bindings.pri.middle_click == SC_MOUSE_BINDING_AUTO);
|
||||||
assert(opts->mouse_bindings.pri.click4 == SC_MOUSE_BINDING_AUTO);
|
assert(opts->mouse_bindings.pri.click4 == SC_MOUSE_BINDING_AUTO);
|
||||||
|
@ -3101,7 +3101,7 @@ sc_get_pause_on_exit(int argc, char *argv[]) {
|
||||||
if (!strcmp(value, "if-error")) {
|
if (!strcmp(value, "if-error")) {
|
||||||
return SC_PAUSE_ON_EXIT_IF_ERROR;
|
return SC_PAUSE_ON_EXIT_IF_ERROR;
|
||||||
}
|
}
|
||||||
// Set to false, inclusing when the value is invalid
|
// Set to false, including when the value is invalid
|
||||||
return SC_PAUSE_ON_EXIT_FALSE;
|
return SC_PAUSE_ON_EXIT_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue