INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: 4BYE on December 03, 2020, 11:03:44 am

Title: Problem with direct sound
Post by: 4BYE on December 03, 2020, 11:03:44 am
Hello, I'm not an expert user. I just play my movies and music over MC 26.
When installing on a new PC I found out I got poor sound quality. I found out it has to do with "direct sound" options.
I now use "Realtec [ASIO]" and the sound is great. However when I want to play a YouTube film on my internet browser it can't do it at the same time. I get an error on the YouTube movie. Even stopping the music on MC doesn't change that. Switching back to a "direct sound" option fixes that, but I get back the poor sound quality while playing my own music files.
Any idea what I can do about that?

Thanks for your time.
Title: Re: Problem with direct sound
Post by: wer on December 03, 2020, 12:56:48 pm
The "at the same time" is the source of your problem.

Disabling Exclusive Mode might mitigate the issue.
https://wiki.jriver.com/index.php/Exclusive_Access
https://help.ableton.com/hc/en-us/articles/209770485-Disabling-exclusive-mode-for-ASIO-interfaces

However, from your description, it sounds like you are running up against a fundamental limitation of audio hardware.

The sound degradation you report is probably due to resampling, or the windows mixer. Resampling occurs with DirectSound (which your browser uses) because audio hardware is only physically capable of playing one sampling rate at a time. Changing the sampling rate is really changing the clock rate on the audio hardware, and the clock cannot keep time at two different rates simultaneously. ASIO and WASAPI bypass the Windows mixer.

When JRiver is accessing the audio hardware to give you that good sound, the hardware cannot simultaneously play the browser audio which is at a different sampling rate.  Using DirectSound resamples all audio to the same rate, which allows simultaneous playback of different audio streams, at the expense of quality.

If you turn off exclusive mode, MC will not be able to changing the sampling rate on the audio hardware, and you will probably think it sounds worse.

You could also try switching to WASAPI in MC. It should give you equivalent quality as ASIO (it depends on how good your ASIO drivers are). But the limitations with regard to exclusive mode will remain.

So, computer audio has limits. You'll have to chose which limitation you live with.

I hope this helps...
Title: Re: Problem with direct sound
Post by: 4BYE on December 04, 2020, 03:46:58 am
The "at the same time" is the source of your problem.

Disabling Exclusive Mode might mitigate the issue.
https://wiki.jriver.com/index.php/Exclusive_Access
https://help.ableton.com/hc/en-us/articles/209770485-Disabling-exclusive-mode-for-ASIO-interfaces

However, from your description, it sounds like you are running up against a fundamental limitation of audio hardware.

The sound degradation you report is probably due to resampling, or the windows mixer. Resampling occurs with DirectSound (which your browser uses) because audio hardware is only physically capable of playing one sampling rate at a time. Changing the sampling rate is really changing the clock rate on the audio hardware, and the clock cannot keep time at two different rates simultaneously. ASIO and WASAPI bypass the Windows mixer.

When JRiver is accessing the audio hardware to give you that good sound, the hardware cannot simultaneously play the browser audio which is at a different sampling rate.  Using DirectSound resamples all audio to the same rate, which allows simultaneous playback of different audio streams, at the expense of quality.

If you turn off exclusive mode, MC will not be able to changing the sampling rate on the audio hardware, and you will probably think it sounds worse.

You could also try switching to WASAPI in MC. It should give you equivalent quality as ASIO (it depends on how good your ASIO drivers are). But the limitations with regard to exclusive mode will remain.

So, computer audio has limits. You'll have to chose which limitation you live with.

I hope this helps...

It sure does.
It crossed my mind, however I'm not technical at all in these things. Good audio is what I want when I'm working on my PC, so that leaves me with SIO or WASAPI.
Thanks for your time, I really appreciate it!