MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-09-23, 23:29   #1 (permalink)
MP Donator
 
SweMart's Avatar
 
Join Date: Mar 2006
Location: Stockholm, Sweden
Age: 30
Posts: 355
Thanks: 8
Thanked 8 Times in 6 Posts

Country:

My System

Default Unable to change volume in MP on Vista when using MpTray

I have a really weird problem(bug?) since a few weeks back. I don't know what caused the problem but basically I'm unable to change the volume in MediaPortal if MediaPortal is launched using MpTray. If I start MediaPortal manually by clicking the icon on the desktop the volume control works without any problems.

When try to do volume up/down or mute when MediaPortal is started using MpTray the following error/exception is written to error.log:

Code:
2008-09-23 23:09:49.815816 [ERROR][MPMain]: Exception   :System.InvalidOperationException: Mixer.GetControl.1
   at MediaPortal.Mixer.Mixer.GetControl(MixerComponentType componentType, MixerControlType controlType)
   at MediaPortal.Mixer.Mixer.Open(Int32 mixerIndex, Boolean isDigital)
   at MediaPortal.Player.VolumeHandler..ctor(Int32[] volumeTable)
   at MediaPortal.Player.VolumeHandler.CreateInstance()
   at MediaPortal.Player.VolumeHandler.get_Instance()
   at MediaPortalApp.OnAction(Action action)
2008-09-23 23:09:49.815816 [ERROR][MPMain]: Exception   :Mixer.GetControl.1
2008-09-23 23:09:49.816792 [ERROR][MPMain]:   site      :MixerControlDetails GetControl(MediaPortal.Mixer.MixerComponentType, MediaPortal.Mixer.MixerControlType)
2008-09-23 23:09:49.817769 [ERROR][MPMain]:   source    :Core
2008-09-23 23:09:49.818745 [ERROR][MPMain]:   stacktrace:   at MediaPortal.Mixer.Mixer.GetControl(MixerComponentType componentType, MixerControlType controlType)
   at MediaPortal.Mixer.Mixer.Open(Int32 mixerIndex, Boolean isDigital)
   at MediaPortal.Player.VolumeHandler..ctor(Int32[] volumeTable)
   at MediaPortal.Player.VolumeHandler.CreateInstance()
   at MediaPortal.Player.VolumeHandler.get_Instance()
   at MediaPortalApp.OnAction(Action action)
I've tried all available versions of MpTray including MpTray mod without any difference. I've checked that the volume settings are set to "Vista" and "Wave" in Configuration. Since volume control works without MpTray my settings must be ok.

I found a similar error that was solved earlier this year:
No OSD when changing channel
The error message matches exactly what's described in that post.

Help This is the last problem that I need to iron out, it's really frustrating since my setup is the most stable since 0.2.0.4.

TV-Server Version: 1.0 RC2 + Latest SVN
MediaPortal Version: 1.0 RC2 + Latest SVN
MediaPortal Skin: BlueTwo Wide
Windows Version: Vista Ultimate SP1
Sound Card: Realtek HDMI
Sound Card AC3: HDMI
Sound Card Driver: 2.04
MPEG2 Audio Codec: MS

Last edited by SweMart; 2008-09-23 at 23:41.
SweMart is offline   Reply With Quote
Old 2008-09-23, 23:43   #2 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,637
Thanks: 129
Thanked 235 Times in 209 Posts

Country:

My System

Default

Have you got default sound device set in MP for all sound settings, either that or the Realtek drivers have done something strange.

My Creative ones took 3 attempts when i did the upgrade to SP1, kept finding bits in the driver not showing as installed , worked fine until you rebooted, also make sure you do not accept any windows updates for that driver (unless you want too).

But i'm running Ultimate with MPTrayMod and touch wood, so far no more issues.

Just a after thought, you have got ALL the mediacenter services disabled.

Last edited by Paranoid Delusion; 2008-09-23 at 23:46.
Paranoid Delusion is offline   Reply With Quote
Old 2008-09-24, 09:47   #3 (permalink)
MP Donator
 
SweMart's Avatar
 
Join Date: Mar 2006
Location: Stockholm, Sweden
Age: 30
Posts: 355
Thanks: 8
Thanked 8 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by Paranoid Delusion View Post
Have you got default sound device set in MP for all sound settings, either that or the Realtek drivers have done something strange.
Do you mean selecting "Master" or "Wave"? Or is there some other setting? Or do you mean audio renderer for TV, Movies etc?

Quote:
Originally Posted by Paranoid Delusion View Post
Just a after thought, you have got ALL the mediacenter services disabled.
Yes, via the group policy editor. Verified that everything is disabled in "services"

The thing is that everything points to MpTray since volume control works if I start MP manually.
SweMart is offline   Reply With Quote
Old 2008-09-24, 10:55   #4 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,637
Thanks: 129
Thanked 235 Times in 209 Posts

Country:

My System

Default

Quote:
The thing is that everything points to MpTray since volume control works if I start MP manually.
More likely the keypress that activates MPTray, try disabling catalyst control centre's hotkeys, as you are using hdmi sound output.
Paranoid Delusion is offline   Reply With Quote
Old 2008-09-24, 22:36   #5 (permalink)
MP Donator
 
SweMart's Avatar
 
Join Date: Mar 2006
Location: Stockholm, Sweden
Age: 30
Posts: 355
Thanks: 8
Thanked 8 Times in 6 Posts

Country:

My System

Default

Quote:
Originally Posted by Paranoid Delusion View Post
Quote:
The thing is that everything points to MpTray since volume control works if I start MP manually.
More likely the keypress that activates MPTray, try disabling catalyst control centre's hotkeys, as you are using hdmi sound output.
Ok, done that = no effect.

Is there any way the devs could modify the code so I could get a better error message? Unhandled exceptions are never any good, no matter how lame I may be at setting up my HTPC(after only 5 years of HTPC activites + another 10 years in the IT business). It's still MediaPortal not handling the exception.

Edit: Pardon my rough language, I've solved the problem. I had to install Visual Studio in order to find the root cause. It seems that the Windows XP compatibility was set for mptray.exe for some unexplainable reason. Funny thing is that I've replaced mptray.exe and mphook.dll several times, is the compability flag set in the registry or is it stored in the binary?

Last edited by SweMart; 2008-09-25 at 10:16.
SweMart is offline   Reply With Quote
Reply

Bookmarks

Tags
change, mptray, mptraymod, vista, volume

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MP reduces Wave volume in Volume Control on exit Zeffer General Support 5 2008-04-24 04:50
volume problem under vista bonz007 General Support 12 2008-03-06 18:27
Unable to change codecs in MP Configurator mmoore99 Codecs, External Players 2 2007-12-11 23:26
Unable to change audio track on DVBS through MP Client Willith Get Support 1 2007-08-07 20:27
MPTray and Vista amilewski Plugins 4 2007-04-07 10:13


All times are GMT +1. The time now is 18:04.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden