[hatari-devel] Portaudio making trouble (at least on mac)

Eero Tamminen eerot at users.berlios.de
Wed Sep 30 22:10:14 CEST 2009


Hi,

On Wednesday 30 September 2009, Laurent Sallafranque wrote:
> Microphone files are uploaded, sorry for the disturb.
>
> You'll need to have portaudio library installed to compil well.

You added also portaudio.h to Hatari, please take that out.

We can add that later to Hatari if for some reason we think that portaudio
should be included with Hatari, for now it's better to use the system one.

(Including only header is really ugly, what if it mismatches with the system
portaudio library that gets linked against Hatari?)


> Thomas and Eero will help me to create an hatari version that compiles
> without this library installed.

Just check HAVE_PORTAUDIO in the microphone.c and its header file.

For an example, see how control.c and its header file do this kind of stuff
(header checks for HAVE_UNIX_DOMAIN_SOCKETS and control.c also for
HAVE_X11).


Btw. Regarding the microphone.h header... Why it contains the micro_*
variables, they don't seem to be used outside of microphone.c?


	- Eero



More information about the hatari-devel mailing list