mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 06:40:15 +00:00
main: Add echo canceller to help
This commit is contained in:
@@ -281,15 +281,10 @@ struct state_audio * audio_cfg_init(struct module *parent,
|
||||
|
||||
if (opt->echo_cancellation) {
|
||||
#ifdef HAVE_SPEEXDSP
|
||||
#if 1
|
||||
s->echo_state = echo_cancellation_init();
|
||||
#else
|
||||
fprintf(stderr, "Echo cancellation is currently broken "
|
||||
"in UltraGrid.\nPlease write to %s "
|
||||
"if you wish to use this feature.\n",
|
||||
PACKAGE_BUGREPORT);
|
||||
fprintf(stderr, "Echo cancellation is currently experimental "
|
||||
"and may not work as expected.");
|
||||
goto error;
|
||||
#endif
|
||||
#else
|
||||
fprintf(stderr, "Speex not compiled in. Could not enable echo cancellation.\n");
|
||||
delete s;
|
||||
|
||||
@@ -409,10 +409,8 @@ static void usage(const char *exec_path, bool full = false)
|
||||
print_help_item("--audio-scale <factor> | <method> | help",
|
||||
{"scales received audio"});
|
||||
}
|
||||
#if 0
|
||||
printf("\t--echo-cancellation \tapply acoustic echo cancellation to audio\n");
|
||||
printf("\t--echo-cancellation \tapply acoustic echo cancellation to audio (experimental)\n");
|
||||
printf("\n");
|
||||
#endif
|
||||
print_help_item("--cuda-device <index> | help", {"use specified CUDA device"});
|
||||
if (full) {
|
||||
print_help_item("--encryption <passphrase>", {"key material for encryption"});
|
||||
|
||||
Reference in New Issue
Block a user