[Freeswitch-users] Error loading portaudio module

Jason White jason at jasonjgw.net
Fri Dec 12 16:50:04 PST 2008


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.





More information about the FreeSWITCH-users mailing list