Automatic muting of multiple applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> There's a project called "Ear Candy" which implements similar
> functionality. It's a stand-alone python app which fades the volume of
> applications in and out based on certain criteria. Unfortunately it
> doesn't seem to be active anymore, and the author notes that the
> functionality should ideally be added to PulseAudio.
>

Indeed it should.. the only reason I haven't done it is my lack of c ninja
skills


> So my question is, would people be interested in such a feature in
> PulseAudio, probably as a module? Do you see any apparent problems
> with having this functionality?
>

It would be awesome...

A couple of things

* A lot of apps are now correctly adding media roles to there pa SinkInputs

* Its already be stated that apps *should* obey the cork events... but most
dont, a work around was attempted by faking the multimedia keys to the
apps.. which frankly didn't work that well.

* A better cork work around would be to use the MEPIS2 dbus interface (
http://www.mpris.org/2.1/spec/index.html) to pause apps. Most music/video
apps these days support this interface (thanks to the ubuntu sound menu)

* That would just leave the flash plugin issue... flash cant be corked? and
of course you still will have no idea what kind of sound is coming from the
browser (music/video/phone). In Earcandy I just treated browsers as a Video
role, but I dont think theres a one size fits all answer here..

* Earcandy used the window stack to determine active client in a role.. ie
the highest window with a client role of music got to be heard

* Apps that can't be paused can always be muted...

Cheers

Jason Taylor


>
>
> Best regards,
>
> Johannes
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>



-- 
"Weekends don't count unless you spend them doing something completely
pointless. " - Calven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110811/de393a37/attachment.htm>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux