ghinda / actos-soundmenu

Actos SoundMenu plasmoid for the KDE Plasma Desktop, controlling sound volume and music playback.
http://kde-look.org/content/show.php/Actos+SoundMenu?content=163707
7 stars 0 forks source link

Needs kmix running to function #1

Open cesasol opened 10 years ago

cesasol commented 10 years ago

The dependency on the qml service makes imposible to run this plasmoid without kmix

ghinda commented 10 years ago

Yes, unfortunately the mixer data engine, that I have to use to change the actual volume, requires KMin to be running, otherwise the data engine itself is not available.

I currently haven't found a way around this.

cesasol commented 10 years ago

Here is a kmix port to qml http://quickgit.kde.org/?p=scratch%2Fcasella%2Fplasma-applet-kmix.git&a=tree&hb=e5d4ddd21943cbf93166ff8fbd61755ad00d495e

And I found that qt4 does not have proper support for pulseaudio, but qt5 does, there is a package called qtmultimedia that provides bindings to qt and qml to gstreamer, pulseaudio, and openal. Other option is use the pulseaudio dbus api trough javascript. Hope this information help

ghinda commented 10 years ago

Yes, using the pulseaudio dbus api trough JavaScript could be a possibility. I'll take a look at it sometime when I'll have some free time.