sqp / pulseaudio Goto Github PK
View Code? Open in Web Editor NEWpulseaudio dbus client for go
License: ISC License
pulseaudio dbus client for go
License: ISC License
On systems with pipewire installed, the dependency on pacmd
makes this library unusable because that package is not available in pipewire. Provide an option for alternate module detection such as moving to pactl
With golang installed from a snap, ModuleIsLoaded() always exited with status 1 - I think because it doesn't have permission to run the pacmd
command. Using "normal" golang (downloaded from the go website) does not have the same problem.
I'm not sure what the answer is, a line in the README to warn users maybe? But I wanted to mention it in case anyone else hit the same thing.
Hi,
I tried the given example client. Getting properties part works fine. It successfully toggles the muting of any given streams but the first client with 6 On... listeners doesn't log anything. No log on muting/unmuting device. I'm not sure what is happening.
load-module module-dbus-protocol
is there in the pulseaudio config so the events should be there in dbus.
Are there some other configs/dependencies that I might be missing because I'm running a minimal Arch installation with KDE so that may be the case.
Hi. I'd like work with Module Objects.
Unfortunately your lib does not implement func (cl *Client) Module()
like func (cl *Client) Device()
or func (cl *Client) Stream()
. I would love to find a solution and have 3 proposals:
func (cl *Client) Module()
. It's as easy as:func (pulse *Client) Module(sink dbus.ObjectPath) *Object {
return NewObject(pulse.conn, DbusInterface+".Module", sink)
}
Client.conn
to the user. That way people can use NewObject
using the existing dbus connection of the pulse client.NewObject
tofunc NewObject(client *Client, interf string, path dbus.ObjectPath) *Object
Do you have any preference? I would be happy to open a PR.
Hi, i'm starting to think in build a sound controller that turns down a sink input volume when another, with high priority, is emitting sound.
I just started today to gather data and options to built it.
I think that i already realized that Pulseaudio's Sink Input is what I need to achieve this.
I saw your package and couldn't realize if it can list Sink Inputs. So, can I use your package to get Sink Inputs and manage their volume?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.