Browse Source

Another qjackctl patch

tags/v1.0
falkTX 4 years ago
parent
commit
2a59419eed
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      patches/qjackctl/05_win32-ignore-jackrouter-device.patch

+ 13
- 0
patches/qjackctl/05_win32-ignore-jackrouter-device.patch View File

@@ -0,0 +1,13 @@
diff --git a/src/qjackctlInterfaceComboBox.cpp b/src/qjackctlInterfaceComboBox.cpp
index 049c228..9921e43 100644
--- a/src/qjackctlInterfaceComboBox.cpp
+++ b/src/qjackctlInterfaceComboBox.cpp
@@ -228,6 +228,8 @@ private:
if (PortAudioProber::names.isEmpty()) {
for (PaDeviceIndex i = 0; i < iNumDevice; ++i) {
PaDeviceInfo *pDeviceInfo = const_cast<PaDeviceInfo *> (Pa_GetDeviceInfo(i));
+ if (strcmp(pDeviceInfo->name, "JackRouter") == 0)
+ continue;
#ifdef WIN32
MultiByteToWideChar(CP_UTF8, 0, pDeviceInfo->name, -1, wideDeviceName, MAX_PATH-1);
const QString sName = hostNames[pDeviceInfo->hostApi] + "::" + QString::fromWCharArray(wideDeviceName);

Loading…
Cancel
Save