INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: coderego on February 12, 2013, 09:21:19 am

Title: No sound after monitor powers down
Post by: coderego on February 12, 2013, 09:21:19 am
My computer power settings have my monitor turning off after 10 minutes of inactivity.

If I pause a movie and step away for 10 minutes, i come back and move the mouse, the screen turns back on but there is no sound. Sound from the PC still works fine. Simply closing and then reopening jriver makes it work again for jriver.

Any ideas on how this can be fixed?

Thanks!
Title: Re: No sound after monitor powers down
Post by: 6233638 on February 12, 2013, 09:46:23 am
Under Audio > Settings, there is an option to disable the display from turning off that may help.
Title: Re: No sound after monitor powers down
Post by: glynor on February 12, 2013, 11:56:00 pm
Yeah.

The problem is this:

If you have WASAPI Exclusive Mode enabled, are using HDMI output for audio, and the PC powers down the HDMI display, it has (effectively) disconnected the "sound card" completely.  As far as the system is concerned, it is just like you removed it and re-inserted it.  MC needs to then send the audio out as though it is a brand-new playback stream (because the previous one was interrupted), but it doesn't know that it does because it was paused (and not trying to send a stream) when the disconnect happened.

The best solution is to prevent the display from going to sleep in the first place, while paused.  Or, to not use Pause for so long (which could maybe be accomplished via a script of some sort if needed).

Enable the option that keeps the display from turning off, and you should be sorted unless the goal was to leave it paused but allow the system to sleep (in which case, you might want to re-evaluate the plan).  You could also probably stop using WASAPI Exclusive Mode, but that's a bad idea for other reasons.