-
- Downloads
Set up volume control code in webkit plugin for platform-specific implementations
Renamed LinuxVolumeCatcher class to VolumeCatcher. Everything in the header except the class name was already platform-agnostic, so I just renamed it to volume_catcher.h. Moved the stub implementation from the end of linux_volume_catcher.cpp (previously only used if LL_PULSEAUDIO_ENABLED was not defined) to dummy_volume_catcher.cpp, and made CMakeList.txt file use the dummy impl on Linux if PULSEAUDIO is not defined. Removed the ifdefs on the use of VolumeCatcher in MediaPluginWebkit, so it gets called on all platforms. Added a setPan() function to VolumeCatcher (currently unimplemented, but we'd like to have this capability in the future).
Showing
- indra/media_plugins/webkit/CMakeLists.txt 6 additions, 2 deletionsindra/media_plugins/webkit/CMakeLists.txt
- indra/media_plugins/webkit/dummy_volume_catcher.cpp 63 additions, 0 deletionsindra/media_plugins/webkit/dummy_volume_catcher.cpp
- indra/media_plugins/webkit/linux_volume_catcher.cpp 26 additions, 46 deletionsindra/media_plugins/webkit/linux_volume_catcher.cpp
- indra/media_plugins/webkit/media_plugin_webkit.cpp 4 additions, 12 deletionsindra/media_plugins/webkit/media_plugin_webkit.cpp
- indra/media_plugins/webkit/volume_catcher.h 59 additions, 0 deletionsindra/media_plugins/webkit/volume_catcher.h
Loading
Please register or sign in to comment