forked from mia/Aegisub
Add 'PortAudio2' as an audio player.
Originally committed to SVN as r2785.
This commit is contained in:
parent
3247ad6c6c
commit
97c857a94f
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,9 @@
|
||||||
#ifdef WITH_PORTAUDIO
|
#ifdef WITH_PORTAUDIO
|
||||||
#include "audio_player_portaudio.h"
|
#include "audio_player_portaudio.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WITH_PORTAUDIO2
|
||||||
|
#include "audio_player_portaudio2.h"
|
||||||
|
#endif
|
||||||
#ifdef WITH_PULSEAUDIO
|
#ifdef WITH_PULSEAUDIO
|
||||||
#include "audio_player_pulse.h"
|
#include "audio_player_pulse.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -169,6 +172,9 @@ void AudioPlayerFactoryManager::RegisterProviders() {
|
||||||
#ifdef WITH_PORTAUDIO
|
#ifdef WITH_PORTAUDIO
|
||||||
RegisterFactory(new PortAudioPlayerFactory(),_T("PortAudio"));
|
RegisterFactory(new PortAudioPlayerFactory(),_T("PortAudio"));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef WITH_PORTAUDIO2
|
||||||
|
RegisterFactory(new PortAudioPlayerFactory(),_T("PortAudio2"));
|
||||||
|
#endif
|
||||||
#ifdef WITH_PULSEAUDIO
|
#ifdef WITH_PULSEAUDIO
|
||||||
RegisterFactory(new PulseAudioPlayerFactory(),_T("PulseAudio"));
|
RegisterFactory(new PulseAudioPlayerFactory(),_T("PulseAudio"));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue