]> 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 60456099dcaccf1d766891059fb44dbe0b919513..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,10 +737,9 @@
+@@ -746,25 +737,25 @@
      PA_UNLESS_( hpiHostApi->allocations = PaUtil_CreateAllocationGroup(), paInsufficientMemory );
  
      hpiHostApi->hostApiIndex = hostApiIndex;
@@ -280,7 +280,12 @@ Index: src/hostapi/asihpi/pa_linux_asihpi.c
      {
          /* the V19 development docs say that if an implementation
           * detects that it cannot be used, it should return a NULL
-@@ -761,10 +751,10 @@
+          * interface and paNoError */
+         PA_DEBUG(( "Could not open HPI interface\n" ));
+         result = paNoError;
+         *hostApi = NULL;
++      (&hpiHostApi->baseHostApiRep)->info.deviceCount = 0;
+         goto error;
      }
      else
      {
This page took 0.037632 seconds and 4 git commands to generate.