From 0778ef5b7a60e1d8ed8b3ea2faf913a36a8ed327 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Sun, 28 Sep 2014 20:37:22 +0200 Subject: Added pulse audio code --- src/audiobackend-pulse.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/audiobackend-pulse.h') diff --git a/src/audiobackend-pulse.h b/src/audiobackend-pulse.h index 7dc2be8..4c696ae 100644 --- a/src/audiobackend-pulse.h +++ b/src/audiobackend-pulse.h @@ -24,11 +24,13 @@ * along with SimpleRTP; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __SIMPLERTP_AUDIOBACKEND-PULSE_H__ -#define __SIMPLERTP_AUDIOBACKEND-PULSE_H__ +#ifndef __SIMPLERTP_AUDIOBACKEND_PULSE_H__ +#define __SIMPLERTP_AUDIOBACKEND_PULSE_H__ #ifdef WITH_PULSE +#include "audiobackend.h" + #include class AudioBackendPulse : public AudioBackend { @@ -40,9 +42,10 @@ public: int write(const char *pcm, size_t size); private: - pa_simple *s; + pa_simple *sIn; + pa_simple *sOut; }; #endif/*WITH_PULSE*/ -#endif/*__SIMPLERTP_AUDIOBACKEND-PULSE_H__*/ +#endif/*__SIMPLERTP_AUDIOBACKEND_PULSE_H__*/ -- cgit v1.2.3