]> git.pld-linux.org Git - packages/audacity.git/blobdiff - portaudio_asihpi_406.patch
- resampling library defaults to soxr now
[packages/audacity.git] / portaudio_asihpi_406.patch
index 9c2d8b5da94a4c65807f9d7f12bef04f0a7cbd98..67e58eedcf05aa89d30c3a61458b4e36a5d2011e 100644 (file)
@@ -268,7 +268,7 @@ Index: src/hostapi/asihpi/pa_linux_asihpi.c
                  hpiDevice->adapterType = type;
                  hpiDevice->adapterVersion = version;
                  hpiDevice->adapterSerialNumber = serial;
-@@ -746,25 +737,24 @@
+@@ -746,25 +737,25 @@
      PA_UNLESS_( hpiHostApi->allocations = PaUtil_CreateAllocationGroup(), paInsufficientMemory );
  
      hpiHostApi->hostApiIndex = hostApiIndex;
@@ -283,8 +283,8 @@ Index: src/hostapi/asihpi/pa_linux_asihpi.c
           * interface and paNoError */
          PA_DEBUG(( "Could not open HPI interface\n" ));
          result = paNoError;
--        *hostApi = NULL;
-+        hpiHostApi = NULL;
+         *hostApi = NULL;
++      (&hpiHostApi->baseHostApiRep)->info.deviceCount = 0;
          goto error;
      }
      else
This page took 0.106312 seconds and 4 git commands to generate.