mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Pulse audio empty struct implementation. Working on it though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4428 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
#include "NullSoundStream.h"
|
||||
#include "CoreAudioSoundStream.h"
|
||||
#include "OpenALStream.h"
|
||||
#include "PulseAudioStream.h"
|
||||
|
||||
namespace AudioCommon
|
||||
{
|
||||
@ -43,6 +44,8 @@ namespace AudioCommon
|
||||
soundStream = new OpenALStream(mixer);
|
||||
if (backend == BACKEND_ALSA && AlsaSound::isValid())
|
||||
soundStream = new AlsaSound(mixer);
|
||||
if (backend == BACKEND_PULSEAUDIO && PulseAudio::isValid())
|
||||
soundStream = new PulseAudio(mixer);
|
||||
if (backend == BACKEND_NULL && NullSound::isValid())
|
||||
soundStream = new NullSound(mixer);
|
||||
|
||||
@ -101,6 +104,8 @@ namespace AudioCommon
|
||||
backends.push_back(BACKEND_OPENAL);
|
||||
if (AlsaSound::isValid())
|
||||
backends.push_back(BACKEND_ALSA);
|
||||
if (PulseAudio::isValid())
|
||||
backends.push_back(BACKEND_PULSEAUDIO);
|
||||
if (NullSound::isValid())
|
||||
backends.push_back(BACKEND_NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user