13 Dec
2008
13 Dec
'08
12:50 a.m.
This is interesting... I wrote the following test. #include<stdio.h> #include <portaudio.h> int main(int argc, char **argv) { Pa_Initialize(); printf("Number of devices: %d\n",Pa_GetDeviceCount()); Pa_Terminate(); } then I compiled and executed it: gcc -o pa_test pa_test.c -lportaudio ./portaudio Number of devices: 10
From what I can see, the code in mod_portaudio.c is using exactly the same API call, but it seems to be returning 0 in that case.