File portaudio-retval.diff of Package kiax
--- iaxclient/lib/audio_portaudio.c.orig 2005-10-07 16:14:02.000000000 +0200
+++ iaxclient/lib/audio_portaudio.c 2005-12-30 14:53:31.709927742 +0100
@@ -940,7 +940,7 @@ int pa_initialize (struct iaxc_audio_dri
_pa_initialize(d, sr);
/* start/stop audio, in order to initialize mixers and levels */
pa_start(d);
- pa_stop(d);
+ return pa_stop(d);
}
/* alternate initialization: delay mixer/level initialization until
@@ -948,7 +948,7 @@ int pa_initialize (struct iaxc_audio_dri
the device as soon as you've initialized it, and want to avoid the time it
takes to start/stop the device before starting it again */
int pa_initialize_deferred(struct iaxc_audio_driver *d, int sr) {
- _pa_initialize(d, sr);
+ return _pa_initialize(d, sr);
}