Reply
Thread Tools
Posts: 713 | Thanked: 761 times | Joined on Jul 2010
#1
i want to adjust the main volume using a terminal command.

by the main volume, i mean the volume slider that appears in the status area. i want to run a command, and have this slider move. {this is the media volume, and its used for all x-maemo streams, and is inherited by other apps, yadda yadda.}

i have investigated pa_cvolume, phonon, qmediaplayer, pactl/alsamixer/amixer, and looked around for dbus calls. this...shouldnt be this hard. please, somebody read this and answer my prayers.

note: i do not want to adjust the volume with the volume keys {e.g. by setting resource policy in a qt app}.
i do not want to lower or raise the maximum volume {e.g. with alsamixer}.
i want to do the precise equivalent of grabbing that central volume slider and dragging it.
__________________
~ teleshoes ~
 
Posts: 713 | Thanked: 761 times | Joined on Jul 2010
#2
ok! so theres a dbus for it, but it requires having either music-suite or qmafw-gui open.

qdbus com.nokia.mafw.renderer.MafwGstRendererPlugin.mafw _gst_renderer /com/nokia/mafw/renderer/mafw_gst_renderer set_extension_property volume 85

qdbus com.nokia.mafw.renderer.MafwGstRendererPlugin.mafw _gst_renderer /com/nokia/mafw/renderer/mafw_gst_renderer get_extension_property volume


next step is to figure out how the hell mafw gets started
__________________
~ teleshoes ~
 
HtheB's Avatar
Moderator | Posts: 2,227 | Thanked: 2,111 times | Joined on Dec 2009 @ Bize Maemo'da Trabzon
#3
Changing topic title (like inserting "Help needed for..." can be usefull

Hope you will get that volume button to work!
__________________
www.HtheB.com
Nintendo DS Homebrew Developer
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 11:42 AM.