GithubHelp home page GithubHelp logo

pulseaudio's People

Contributors

kovetskiy avatar sqp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pulseaudio's Issues

Support Pipewire-pulse

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

Question: Get Sink Inputs

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!

Not able to use any On... listeners

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.

Support Module Objects

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:

  1. Implement func (cl *Client) Module(). It's as easy as:
func (pulse *Client) Module(sink dbus.ObjectPath) *Object {
	return NewObject(pulse.conn, DbusInterface+".Module", sink)
}
  1. Expose Client.conn to the user. That way people can use NewObject using the existing dbus connection of the pulse client.
  2. Change the Signature of NewObject to
func NewObject(client *Client, interf string, path dbus.ObjectPath) *Object

Do you have any preference? I would be happy to open a PR.

ModuleIsLoaded() Errors if Golang is from snap

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.