Add 'PortAudio2' as an audio player.

Originally committed to SVN as r2785.
This commit is contained in:
Amar Takhar 2009-04-11 23:23:30 +00:00
parent ebdeeec267
commit 7ecdd1035a
1 changed files with 6 additions and 0 deletions

View File

@ -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