From f6d8cca7aa0c4849cd734cf2e0398450deb33038 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sun, 12 Apr 2009 10:08:59 +0000 Subject: [PATCH] Add block for WITH_PORTAUDIO2. Originally committed to SVN as r2789. --- aegisub/src/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aegisub/src/Makefile.am b/aegisub/src/Makefile.am index d8e235ac0..2b16c6903 100644 --- a/aegisub/src/Makefile.am +++ b/aegisub/src/Makefile.am @@ -45,6 +45,14 @@ aegisub_2_1_LDFLAGS += @PORTAUDIO_LDFLAGS@ aegisub_2_1_LDADD += libaudio_portaudio.a endif +if HAVE_PORTAUDIO2 +noinst_LIBRARIES += libaudio_portaudio2.a +libaudio_portaudio2_a_SOURCES = audio_player_portaudio2.cpp +libaudio_portaudio2_a_CPPFLAGS = @PORTAUDIO2_CFLAGS@ +aegisub_2_1_LDFLAGS += @PORTAUDIO2_LIBS@ +aegisub_2_1_LDADD += libaudio_portaudio2.a +endif + if HAVE_PULSEAUDIO noinst_LIBRARIES += libaudio_pulseaudio.a libaudio_pulseaudio_a_SOURCES = audio_player_pulse.cpp @@ -178,6 +186,7 @@ EXTRA_aegisub_2_1_SOURCES = \ audio_player_dsound.cpp \ audio_player_dsound2.cpp \ audio_player_portaudio.cpp \ + audio_player_portaudio2.cpp \ audio_player_pulse.cpp \ audio_provider_avs.cpp \ audio_provider_lavc.cpp \