11/26/2022 0 Comments Pulseaudio volume control command line![]() So the Nemo documentation, source code and developer's mailing lists are where I would start looking.Fedora rawhide development/Workstation-os Another pulseaudio module accessible via DBus, together with an App (or several) to control it? You will probably need to understand the Nemo audio routing, and insert the equalizer's sink(s) and source(s). dbus-send -print-reply -type=method_call -address='unix:path=/run/user/100000/pulse/dbus-socket' -dest=2 /com/meego/mainvolume2 .GetAll string:2Īs to where an equalizer should go, I don't really know. ![]() Then you can access the volume properties with e.g. It turns out the address is unix:path=/run/user/100000/pulse/dbus-socket on my Jolla. So if you follow the instructions on the MainVolume page on the wiki you linked, you first see that you need to connect to the pulseaudio server, because it's neither on the system nor the session bus (whoever had this bright idea). Alsa is only used as backend for pulseaudio. Maybe the SailfishDevel mailing list is a better place to ask? Anyway, I don't know any details about the audio architecture, but to my limited understanding there's a bunch of pulseaudio modules which do audio routing (incoming calls, speaker vs. Is there any documentation on this? Basically with alsa on pulseaudio getting a simple equalizer to work should be possible, I suppose. Volume: front-left: 32768 / 50% / -18.06 dB, front-right: 8192 / 13% / -54.19 dBĮventually I found this, where is decribed that at least for Mer/Nemo there is a gateway between the user and pulseaudio. Playback channels: Front Left - Front Rightįront Right: Playback 13108 ~]$ pacmd set-sink-volume 0 ~]$ pacmd list-sinksįlags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME ~]$ amixer sset Master 80%,20%Ĭapabilities: pvolume pswitch pswitch-joined Interestingly if I try the same on the sailfish emulator on the SDK, setting volume over pulseaudio and the use of amixer is possible, altough there is only one sink available. ![]() I tried to use amixer to set a different balance between left/right speaker but I only get that the command is unknown. So I suppose the volume is controlled on a higher lever. Jolla shows 4 available sinks, with all on 100%, even when I change the volume on my phone there is no change in this number. Based on the request I was playing around with pulseaudio and wondering how simple/complicate building a native equalizer might be. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |