diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-04-17 18:44:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-04-17 18:44:17 +0200 |
commit | b1cc1ee09afb8612b67f939ec7c40ac59522ead2 (patch) | |
tree | 6396c8152382b4618dc1da5484730e8258b4bed4 | |
parent | 11b507c13e817710bd77e5dfdac457402cea2d26 (diff) |
Include audio human readable name (description) when using incorrect audio device
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 53e9f7e..434b494 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1851,7 +1851,7 @@ int main(int argc, char **argv) { if(!match) { fprintf(stderr, "Error: Audio input device '%s' is not a valid audio device, expected one of:\n", request_audio_input.name.c_str()); for(const auto &existing_audio_input : audio_inputs) { - fprintf(stderr, " %s\n", existing_audio_input.name.c_str()); + fprintf(stderr, " %s (%s)\n", existing_audio_input.name.c_str(), existing_audio_input.description.c_str()); } _exit(2); } |