From: <st...@us...> - 2003-07-10 19:53:55
|
Update of /cvsroot/iaxclient/iaxclient/lib In directory sc8-pr-cvs1:/tmp/cvs-serv27616 Modified Files: audio_portaudio.c Log Message: return 0.. Index: audio_portaudio.c =================================================================== RCS file: /cvsroot/iaxclient/iaxclient/lib/audio_portaudio.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- audio_portaudio.c 10 Jul 2003 18:51:46 -0000 1.15 +++ audio_portaudio.c 10 Jul 2003 18:54:50 -0000 1.16 @@ -74,6 +74,7 @@ if(i == Pa_GetDefaultOutputDeviceID()) dev->capabilities |= IAXC_AD_OUTPUT_DEFAULT; } + return 0; } void mono2stereo(SAMPLE *out, SAMPLE *in, int nSamples) { @@ -295,7 +296,6 @@ int bytestoread; bytestoread = *nSamples * sizeof(SAMPLE); - /* we don't return partial buffers */ if(RingBuffer_GetReadAvailable(&inRing) < bytestoread) { @@ -304,6 +304,8 @@ } RingBuffer_Read(&inRing, samples, bytestoread); + + return 0; } int pa_output(struct iaxc_audio_driver *d, void *samples, int nSamples) { |