INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Auto Skype Mute 0.0.0.1 Betaversion available  (Read 6670 times)

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Auto Skype Mute 0.0.0.1 Betaversion available
« on: April 28, 2007, 05:43:35 pm »

Hi,

I'm proud to deliver my second plugin for MC. This is specially for Skype users who have both Skype and MC installed on the same PC (Sadly Skype does not send me monitoring info when a Call is answered at another location).

Here's a description  : http://www.paulsinnema.net/modules/wiwimod/index.php?page=Auto+Skype+Mute&back=Media+Center+Plugins
Download from here : http://www.paulsinnema.net/modules/mydownloads/visit.php?cid=4&lid=6

Paul.
Logged

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #1 on: April 28, 2007, 06:16:47 pm »

I'm running into trouble with this one. It seems that MC uses the Master Volume. The output sound of Skype is also lowered when my plugin lowers that of MC. Further tries Skype to compensate for the lost soundstrength and moves the Master Volume up again. This then causes MC to send me Volume Changed Events. Pfew... what now?
Logged

Mr ChriZ

  • Citizen of the Universe
  • *****
  • Posts: 4375
  • :-D
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #2 on: April 29, 2007, 05:57:53 am »

You can tell MC to use it's own internal volume controls
Click on the volume button.  This can cause other issues however.

Vista may resolve this as each application get's it's own volume control.

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #3 on: April 29, 2007, 06:59:51 am »

You can tell MC to use it's own internal volume controls
Click on the volume button.  This can cause other issues however.

Click on which volume button, in the settings (choosing between 'Wave' and 'Direct Sound')?
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #4 on: April 29, 2007, 12:45:38 pm »

Click the small speaker icon besides the volume slider. You can access the same menu also from the standard top menu: Player > Volume...
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

PaulSinnema

  • Galactic Citizen
  • ****
  • Posts: 393
  • You don't know what you're missing until its gone
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #5 on: April 29, 2007, 12:58:02 pm »

Click the small speaker icon besides the volume slider. You can access the same menu also from the standard top menu: Player > Volume...

Thanx Alex,

Never noticed that one before. I'm an old time user but didn't know this one.

Paul
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Auto Skype Mute 0.0.0.1 Betaversion available
« Reply #6 on: April 29, 2007, 05:49:56 pm »

I stole one of your posts, Paul, to start a new thread here:
http://yabb.jriver.com/interact/index.php?topic=40305.0

Here's a copy of what you said:

Hi Criz,

Well I think I solved it. In Windows XP (and Vista) a library called 'winmm.dll' is available. It has 2 functions that I'm using now.


Code:
        [DllImport ( "winmm.dll" )]
        public static extern int waveOutGetVolume ( IntPtr hwo, out uint dwVolume );

        [DllImport ( "winmm.dll" )]
        public static extern int waveOutSetVolume ( IntPtr hwo, uint dwVolume );


These functions do not alter the Master Volume but the Wave Out Volume. I still have some work to do on the presentation. When I use the functions I do it in a loop with a Sleep(200). That's not very nice because the Slider on the 'Current Volume' doesn't reflect what's going on until the loop finishes. I tried adding a DoEvents() function but that caused all kinds of other unwanted sideeffects.

The Volume of Skype is lowered too using these functions so I guess I'm still not quite there. You can download the latest build from the link above.

Yeah, I also found a lot of changes for Vista. No good in Windows XP though. I still don't use Vista because of the amount of work that has to done to install it and reinstall all my programs, SP's, etc... Will go there some time in the future I guess.

Paul.

PS: The cook on http://tinyurl.com/2ta24t, that's you?
Logged
Pages: [1]   Go Up