Portaudio Error on Ubuntu and Raspbian
问题 I recently started to use PortAudio in a C program, but I've got trouble initializing it. The problem lies in the Pa_Initialize() function. Here's my code: #include "portaudio.h" #include <stdio.h> #include <stdlib.h> main() { PaError err; err = Pa_Initialize(); if ( err != paNoError ) goto error; error: Pa_Terminate(); fprintf( stderr, "******* ERROR *******\n" ); fprintf( stderr, "Error number: %d\n", err ); fprintf( stderr, "Error message: %s\n", Pa_GetErrorText( err ) ); return err; } I