Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.5KB

  1. From 3bc08a79629fe22b2cbf4acb4a69bfe79403a6a6 Mon Sep 17 00:00:00 2001
  2. From: falkTX <falktx@falktx.com>
  3. Date: Thu, 14 Mar 2024 18:26:30 +0100
  4. Subject: [PATCH] Ignore missing internals
  5. Signed-off-by: falkTX <falktx@falktx.com>
  6. ---
  7. common/JackControlAPI.cpp | 3 ---
  8. common/JackDriverLoader.cpp | 9 ---------
  9. 2 files changed, 12 deletions(-)
  10. diff --git a/common/JackControlAPI.cpp b/common/JackControlAPI.cpp
  11. index c13640a97..0e005353b 100644
  12. --- a/common/JackControlAPI.cpp
  13. +++ b/common/JackControlAPI.cpp
  14. @@ -458,10 +458,7 @@ jackctl_internals_load(
  15. descriptor_node_ptr = jack_internals_load(NULL);
  16. if (descriptor_node_ptr == NULL)
  17. - {
  18. - jack_error("Could not find any internals in driver directory!");
  19. return false;
  20. - }
  21. while (descriptor_node_ptr != NULL)
  22. {
  23. diff --git a/common/JackDriverLoader.cpp b/common/JackDriverLoader.cpp
  24. index 77150435c..9a1be518b 100644
  25. --- a/common/JackDriverLoader.cpp
  26. +++ b/common/JackDriverLoader.cpp
  27. @@ -670,10 +670,6 @@ JSList* jack_internals_load(JSList * internals)
  28. } while (FindNextFileW(file, &filedata));
  29. - if (!driver_list) {
  30. - jack_error ("Could not find any internals in %s!", driver_dir);
  31. - }
  32. -
  33. error:
  34. if (driver_dir) {
  35. free(driver_dir);
  36. @@ -738,11 +734,6 @@ JSList* jack_internals_load(JSList * internals)
  37. driver_dir, strerror (errno));
  38. }
  39. - if (!driver_list) {
  40. - jack_error ("Could not find any internals in %s!", driver_dir);
  41. - return NULL;
  42. - }
  43. -
  44. return driver_list;
  45. }