Implement pulseaudio output. It is rather crude but seems to work.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5626 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-06-06 04:02:16 +00:00
parent 5341bbad3a
commit 9c3c7c5443
3 changed files with 31 additions and 6 deletions

View File

@ -18,7 +18,7 @@
#ifndef _PULSE_AUDIO_STREAM_H
#define _PULSE_AUDIO_STREAM_H
#if defined(HAVE_PULSE) && HAVE_PULSE
#if defined(HAVE_PULSEAUDIO) && HAVE_PULSEAUDIO
#include <pulse/simple.h>
#include <pulse/error.h>
#include <pulse/gccmacro.h>
@ -31,7 +31,7 @@
class PulseAudio : public SoundStream
{
#if defined(HAVE_PULSE) && HAVE_PULSE
#if defined(HAVE_PULSEAUDIO) && HAVE_PULSEAUDIO
public:
PulseAudio(CMixer *mixer);
virtual ~PulseAudio();
@ -60,7 +60,7 @@ private:
// 2 = done shutting down.
volatile int thread_data;
snd_pcm_t *handle;
pa_simple *handle;
#else
public:
PulseAudio(CMixer *mixer) : SoundStream(mixer) {}