summaryrefslogtreecommitdiff
path: root/src/audiobackend-pulse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiobackend-pulse.h')
-rw-r--r--src/audiobackend-pulse.h11
1 files changed, 7 insertions, 4 deletions
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 <pulse/simple.h>
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__*/