From cd368847dd2267e9ff3d1d871c8cad5f1bffa287 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Mon, 22 Feb 2010 12:03:31 +0000 Subject: fill out the interface. --- indra/media_plugins/webkit/linux_volume_catcher.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'indra/media_plugins') diff --git a/indra/media_plugins/webkit/linux_volume_catcher.cpp b/indra/media_plugins/webkit/linux_volume_catcher.cpp index 34f797f5b2..637560eaab 100644 --- a/indra/media_plugins/webkit/linux_volume_catcher.cpp +++ b/indra/media_plugins/webkit/linux_volume_catcher.cpp @@ -34,14 +34,19 @@ #include #include #include -#include // There's no special reason why we want the *glib* PA mainloop, but the generic non-glib implementation seems broken. +#include // There's no special reason why we want the *glib* PA mainloop, but the generic polling implementation seems broken. class LinuxVolumeCatcherImpl { public: - setVol(F32 volume); // 0.0-1.0 + //void setVol(F32 volume); // 0.0-1.0 + //LinuxVolumeCatcherImpl *impl; private: - F32 mLastDesiredVolume; - pa_glib_mainloop + F32 mDesiredVolume; + pa_glib_mainloop *mMainloop; + pa_context *mLastContext; + bool connected; + std::set mSinkInputIndices; + std::map mSinkInputNumChannels; } -- cgit v1.2.3