view src/audio/Makefile.am @ 929:03fb90fc135e

Date: Mon, 05 Jul 2004 14:37:59 +0200 From: Yves Maurischat Subject: [SDL] Crashes when using aRts on Linux We had a problem with my app using SDL. It always crashed after SDL_OpenAudio(), if the artsd was running on a Linux machine with KDE. After some investigation (and searching for differences in other apps using arts) we found out, that the problem resulted from loading, calling arts_init(), calling arts_free() and unloading the aRts-Library in .../src/audio/arts/SDL_artsaudio.c twice: first in "static int Audio_Available()", the second time in "static SDL_AudioDevice *Audio_CreateDevice(int devindex)".
author Sam Lantinga <slouken@libsdl.org>
date Wed, 18 Aug 2004 21:41:39 +0000
parents e92bcf2573cb
children f8d5ddc7aef1
line wrap: on
line source


## Makefile.am for the SDL audio library

noinst_LTLIBRARIES = libaudio.la

# Define which subdirectories need to be built
SUBDIRS = @AUDIO_SUBDIRS@
DIST_SUBDIRS =	\
	alsa	\
	arts	\
	baudio	\
	dc	\
	disk	\
	dma	\
	dmedia	\
	dsp	\
	esd	\
	macrom	\
	mint	\
	mme	\
	nas	\
	nto	\
	openbsd	\
	paudio	\
	riscos	\
	sun	\
	ums	\
	windib	\
	windx5

DRIVERS = @AUDIO_DRIVERS@

# Include the architecture-independent sources
COMMON_SRCS =			\
	SDL_audio.c		\
	SDL_audio_c.h		\
	SDL_audiocvt.c		\
	SDL_audiodev.c		\
	SDL_audiodev_c.h	\
	SDL_audiomem.c		\
	SDL_audiomem.h		\
	SDL_mixer.c		\
	SDL_sysaudio.h		\
	SDL_wave.c		\
	SDL_wave.h              \
	SDL_mixer_MMX.c         \
	SDL_mixer_MMX.h		\
	SDL_mixer_MMX_VC.c	\
	SDL_mixer_MMX_VC.h	\
	SDL_mixer_m68k.c	\
	SDL_mixer_m68k.h

libaudio_la_SOURCES = $(COMMON_SRCS)
libaudio_la_LIBADD = $(DRIVERS)
libaudio_la_DEPENDENCIES = $(DRIVERS)