Switch to PortAudio for audio playback
This commit is contained in:
parent
2cd4851601
commit
71b625081a
6 changed files with 41 additions and 10 deletions
|
|
@ -1,12 +1,21 @@
|
|||
#include "../session.hpp"
|
||||
#include "renderers/renderer.h"
|
||||
|
||||
#ifdef HAVE_PORTAUDIO
|
||||
#include "renderers/portaudiorenderer.h"
|
||||
#else
|
||||
#include "renderers/sdl.h"
|
||||
#endif
|
||||
|
||||
#include <Limelight.h>
|
||||
|
||||
IAudioRenderer* Session::createAudioRenderer()
|
||||
{
|
||||
#ifdef HAVE_PORTAUDIO
|
||||
return new PortAudioRenderer();
|
||||
#else
|
||||
return new SdlAudioRenderer();
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Session::testAudio(int audioConfiguration)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue