(if there's no hpi card we've got:
Program received signal SIGSEGV,
Segmentation fault. 0x000000000080550f in Terminate (hostApi=0xe067a0) at
src/hostapi/asihpi/pa_linux_asihpi.c:817
817 PaAsiHpiDeviceInfo *hpiDevice = (PaAsiHpiDeviceInfo *) hostApi->deviceInfos[ i ];)
)
Changed files:
portaudio_asihpi_406.patch -> 1.2
hpiDevice->adapterType = type;
hpiDevice->adapterVersion = version;
hpiDevice->adapterSerialNumber = serial;
-@@ -746,10 +737,9 @@
+@@ -746,25 +737,24 @@
PA_UNLESS_( hpiHostApi->allocations = PaUtil_CreateAllocationGroup(), paInsufficientMemory );
hpiHostApi->hostApiIndex = hostApiIndex;
{
/* 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 = NULL;
+ goto error;
}
else
{