Hi.<br><br>I&#39;ve written a small python app that monitors the window focus and current pulseaudio streams and fades volume levels based on window focus and active streams.. this allows banshee to mute on skype calls... video players to mute music players etc...<br>
<br>Basically like <a href="http://workouts.foss.in/2008/index.php/Implementing_volume-follows-focus_in_PulseAudio#Report">http://workouts.foss.in/2008/index.php/Implementing_volume-follows-focus_in_PulseAudio#Report</a><br>
<br><b> </b>its pretty much just a toy experimenting with how it would work... (and I use skype for work so muting the music automaticlly was my main itch to scratch)<br><br>Code is in bzr at <a href="https://launchpad.net/eyecandy/0.2">https://launchpad.net/eyecandy/0.2</a><br>
<br>&nbsp;- I divided apps up into a couple of classes (music,video,voice) and created some rules around that<br><br>- I also got a fade working depending on where the window is on screen left/right fade, <br><br>- Is there a way to check if a stream is actually producing sound not just active... flash player in ff does not seem to play nice??<br clear="all">
<br>Cheers<br><br>Jason Taylor<br><br><br>-- <br>&quot;A little rudeness and disrespect can elevate a meaningless interaction to a battle of wills and add drama to an otherwise dull day.&quot; - Calven<br>