This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Solid - Change volume (like kmix)

Tags: None
(comma "," separated)
User avatar
marcin.baszczewski
Registered Member
Posts
8
Karma
0

Solid - Change volume (like kmix)

Wed Jan 07, 2009 9:12 pm
Hi I write some plasmoid:
Image

I want change system volume (like kmix) but i don't know how.
Solid::AudioInterface haven't any options (setVolume...) to do it.

I read KMix source code but it's hard.
Any solutions?

PS
Phonon can change volume only for single (our) app? Example: my player.
PS2
Maybe someone can write "KMix" Data Engine for Plasma?

Last edited by marcin.baszczewski on Wed Jan 07, 2009 9:32 pm, edited 1 time in total.


Image
User avatar
msoeken
Mentor
Posts
300
Karma
4
OS
One solution could be to call methods on kmix via dbus. But this requires kmix to be running.


Image
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size]
panda84
Moderator
Posts
376
Karma
1
OS
I think the most appropriate people to ask for is Christian Esken (esken at kde dot org), he's the assignee of all KMix bugs.

Maybe also Matthias Kretz can give you some hints.


Usate il pulsante Accept this answer per marcare una discussione come risolta!
Blog - LUG - KDE - Lavoro


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell