[hatari-devel] Can I use portaudio lib ?

Eero Tamminen eerot at users.berlios.de
Tue Sep 29 19:15:38 CEST 2009


Hi,

On Tuesday 29 September 2009, Laurent Sallafranque wrote:
> I've just added the following lines to Makefile-default.cnf
> + # PORTAUDIO configuration (for PORTAUDIO embedding)
> + PORTAUDIO_LIBS := $(shell pkg-config --libs portaudio-2.0)
> + ifneq ($(PORTAUDIO_LIBS),)
> + PORTAUDIO_CFLAGS := $(shell pkg-config --cflags portaudio-2.0)
> + CFLAGS += $(PORTAUDIO_CFLAGS) -DHAVE_PORTAUDIO=1
> + LIBS += $(PORTAUDIO_LIBS)
> + endif
>
> Is it OK for you all ?

I think so.  (although the comment about embedding could be removed :-))

After all this is working, we can look at the configure.ac update with
Thomas (anything to do with GNU autotools is painful) and discuss with you
a bit about whether and how much of portaudio needs to be included in
Hatari.

Can you do the code so that it builds and Hatari in general works also when
there's no portaudio and the corresponding Falcon feature is missing from
Hatari?


	- Eero



More information about the hatari-devel mailing list