INTERACT FORUM

Please login or register.

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

Author Topic: WDM driver, is it resampling?  (Read 483 times)

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
WDM driver, is it resampling?
« on: October 30, 2024, 07:50:25 am »

I noticed by chance that WDM driver resamples before passing the audio into the Audio Path.
It is a non-transparent behavior and certainly not oriented towards quality.
Furthermore, if I wanted to carry out a resampling in DSP Studio I would find myself a double resampling. Is it so or am I wrong?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #1 on: October 30, 2024, 07:56:26 am »

You need to enable exclusive mode in the audio device settings to use WASAPI exclusive, otherwise it's WASAPI shared and goes through the system mixer.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #2 on: October 30, 2024, 07:59:14 am »

I didn't understand.
My DAC is IFI zen DAC V3
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #3 on: October 30, 2024, 08:03:49 am »

Yes, I have the same DAC too.

MC's Options > Audio > Audio Device section > Device settings... and check the Open device for exclusive access box.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #4 on: October 30, 2024, 08:15:03 am »

Where is it?

Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #5 on: October 30, 2024, 08:18:24 am »

Where is it?
ASIO is naturally exclusive so that option only applies to a wasapi output

seems that you want to set the WDM driver to exclusive though so that's in the windows audio output settings not MC
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #6 on: October 30, 2024, 08:21:41 am »

I did it, but not the result I'm looking for
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #7 on: October 30, 2024, 08:23:20 am »

Yes, I have the same DAC too.

MC's Options > Audio > Audio Device section > Device settings... and check the Open device for exclusive access box.

And where you find it?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #8 on: October 30, 2024, 08:25:55 am »

I did it, but no the result I'm looking for
the previous post is referring to MC options but that's for the MC output device not WDM. I don't read Italian but those 2 options are the exclusive ones so looks like it's configured correctly.

you said "I noticed by chance that WDM driver resamples before passing the audio into the Audio Path.", what exactly do you see and where?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #9 on: October 30, 2024, 08:29:06 am »

ANd where you find it?

It's in MC's Options, not Windows' sound options.

ASIO is naturally exclusive so that option only applies to a wasapi output

Not exactly... most ASIO drivers are actually shared for PCM, meaning for PCM if you playback media (e.g. in a web browser) at the same sample rate as the media playing back in MC via ASIO, you'll hear both with no way to actually force enable exclusive for ASIO PCM. Out of the DACs I've had over the years, only Schiit's ASIO drivers have been exclusive for PCM. iFi's ASIO driver certainly isn't exclusive for ASIO, sadly. This has been a somewhat dealbreaking issue for me for the last 5 or so years now, which has forced me to use WASAPI exclusive.

ASIO is exclusive for DSD though.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #10 on: October 30, 2024, 08:33:35 am »

I was imprecise, I meant from the perspective of exclusive as a synonym for "nothing is resampling" (as the subject of this thread) as opposed to the other side effects of wasapi exclusive
Logged

HPBEME

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1085
  • Goodnight and Good Luck
Re: WDM driver, is it resampling?
« Reply #11 on: October 30, 2024, 08:42:50 am »

In the event the OP is still unable to find where to set exclusive mode within MC, see attached picture.
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #12 on: October 30, 2024, 08:44:09 am »

What a mess
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #13 on: October 30, 2024, 08:47:16 am »

Where is IFI Audio Zen Dac V3 Wasapi?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #14 on: October 30, 2024, 08:56:36 am »

What a mess
you seem a bit confused as to what the signal chain is & what each option does/when it applies

your signal chain appears to be qobuz -> WDM via wasapi exclusive -> MC -> your DAC via ASIO

there's no resampling in this
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #15 on: October 30, 2024, 09:01:20 am »

And you're using ASIO, not WASAPI in Media Center so you'd have to switch the Audio Output device too.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #16 on: October 30, 2024, 09:52:55 am »

Sorry but I don't understand anything.
I run a 24-bit and 44.1 streaming from Qobuz, but already switching to WDM the resolution changes. Depending on how I set WDM I find it inside the Path as a 192 or 384 16 bit or 24 or 32 input. But that's not enough: when it comes out in output it undergoes a further variation. I am told that I have to change the audio output as well, but where should I send it if not to my iFi which only has an ASIO driver?
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #17 on: October 30, 2024, 10:01:27 am »

Why input is 24 bit and output is 32 bit?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #18 on: October 30, 2024, 10:11:21 am »

You don't have to change the output from asio

https://yabb.jriver.com/interact/index.php/topic,104255.msg724769.html#msg724769 is one post that explains what bit depth is and how such a change is basically no change at all (except the no of bits used to represent each value)
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #19 on: October 30, 2024, 10:29:59 am »

I didn't change anithing
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72392
  • Where did I put my teeth?
Re: WDM driver, is it resampling?
« Reply #20 on: October 30, 2024, 10:33:29 am »

A DAC may require 32 bit.
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #21 on: October 30, 2024, 10:34:27 am »

?
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #22 on: October 30, 2024, 10:35:30 am »

A DAC may require 32 bit.

Not my DAC. With Foobar or other player the output is like I want to. 16, 24, 32 bit
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #23 on: October 30, 2024, 10:35:39 am »

Why input is 24 bit and output is 32 bit?

This is normal, as it's padding the bit-depth to the highest bit-depth supported for the DAC. Useful for DSP and things like that. Even though it says 32-bit, it's still really 16-bit or 24-bit with extra zeros padded at the end to 32-bit. This is not to be confused with dithering which is NOT happening, it's just simple padding with zeros.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #24 on: October 30, 2024, 10:38:00 am »

Sorry but I don't understand anything.
I run a 24-bit and 44.1 streaming from Qobuz, but already switching to WDM the resolution changes. Depending on how I set WDM I find it inside the Path as a 192 or 384 16 bit or 24 or 32 input. But that's not enough: when it comes out in output it undergoes a further variation. I am told that I have to change the audio output as well, but where should I send it if not to my iFi which only has an ASIO driver?
This post is contradicted by the pic shown in the other post showing no change

you need to show your signal chain to demonstrate these changes otherwise it's guesswork
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #25 on: October 30, 2024, 10:41:00 am »

How can I show it
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #26 on: October 30, 2024, 10:48:46 am »

But the question is about WDM that resamples, and couldn't do it
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #27 on: October 30, 2024, 10:51:20 am »

Where is it resampling? Do you mean the 24-bit to 32-bit output thing? Because that's not resampling, that's just padding. It's normal in Media Center.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #28 on: October 30, 2024, 10:54:35 am »

No. I play a 192 24 bit, but if WDM is setting to 44 16 bit then play 44 16 bit
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #29 on: October 30, 2024, 10:57:08 am »

I show
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #30 on: October 30, 2024, 10:58:47 am »

this is a 24 bit 44.1 kHz, but Audio Path shows 44.1 and 16 bit
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #31 on: October 30, 2024, 11:00:32 am »

beecause WDM is setted 44.1 16 bit
If I set WDM 192 24 bit then in Audio Path the same 44.1 24 bit will get 24 bit 192
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72392
  • Where did I put my teeth?
Re: WDM driver, is it resampling?
« Reply #32 on: October 30, 2024, 12:04:17 pm »

Angelo,
Why don't you focus on getting it to play and forget about trying to understand it?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7785
  • Autumn shade...
Re: WDM driver, is it resampling?
« Reply #33 on: October 30, 2024, 12:23:41 pm »

You need to use the Qobuz app in order to enable exclusive mode for Qobuz (the dedicated app should have this as an option). You shouldn't try doing this through Media Center and its embedded Edge/Chromium browsers as web browsers (including the embedded ones) don't support exclusive mode audio output and will always resample through the system mixer before being sent for output via the WDM driver. Same applies to Tidal too in this regard. You have to use the dedicated app instead of doing it from a web browser.

One thing to consider and note is if you try to playback 24-bit/192 kHz content with Qobuz/Tidal apps with the WDM driver, there likely will be issues with stuttering and gaps during playback, it's a known issue with no workaround or fix (other than disabling exclusive mode in Qobuz/Tidal, which it then goes through the system mixer).
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4203
Re: WDM driver, is it resampling?
« Reply #34 on: October 30, 2024, 03:04:34 pm »

You need to use the Qobuz app in order to enable exclusive mode for Qobuz (the dedicated app should have this as an option)
looks like this is the problem, the app does have that option so that is the only way to do what you want but, as mentioned, note that you'll get problems with any 192kHz content  (as per https://yabb.jriver.com/interact/index.php?topic=139696.0)
Logged

Angelo58

  • Junior Woodchuck
  • **
  • Posts: 80
Re: WDM driver, is it resampling?
« Reply #35 on: October 31, 2024, 03:22:15 am »

thanks to all of you, but at the moment I have to give up.
All too difficult for an application that should allow you to enjoy music calmly, with pleasure and at the highest possible quality. Considering then that it is a paid application, which leaves individuals to their own devices, having to climb through posts, generous users and perhaps even receive reproaches.
I belong to another century and therefore I don't like this type of relationship.
Perhaps I will return to JRiver more calmly, hoping to find the more mature, efficient and enjoyable app.
There are excellent free apps that easily allow you to have maximum quality and services, with remote apps that are equally free and functional. I think of Daphile or Foobar2000.
 Thanks again and maybe see you soon.
Logged
Pages: [1]   Go Up