From 97c857a94f51607e15ab47e0dd96ec85ba14ab6e Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 11 Apr 2009 23:23:30 +0000 Subject: [PATCH] Add 'PortAudio2' as an audio player. Originally committed to SVN as r2785. --- aegisub/src/audio_player.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aegisub/src/audio_player.cpp b/aegisub/src/audio_player.cpp index 93af59658..c3c1532b5 100644 --- a/aegisub/src/audio_player.cpp +++ b/aegisub/src/audio_player.cpp @@ -54,6 +54,9 @@ #ifdef WITH_PORTAUDIO #include "audio_player_portaudio.h" #endif +#ifdef WITH_PORTAUDIO2 +#include "audio_player_portaudio2.h" +#endif #ifdef WITH_PULSEAUDIO #include "audio_player_pulse.h" #endif @@ -169,6 +172,9 @@ void AudioPlayerFactoryManager::RegisterProviders() { #ifdef WITH_PORTAUDIO RegisterFactory(new PortAudioPlayerFactory(),_T("PortAudio")); #endif +#ifdef WITH_PORTAUDIO2 + RegisterFactory(new PortAudioPlayerFactory(),_T("PortAudio2")); +#endif #ifdef WITH_PULSEAUDIO RegisterFactory(new PulseAudioPlayerFactory(),_T("PulseAudio")); #endif