INTERACT FORUM

Please login or register.

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

Author Topic: WASAPI - resampling ?  (Read 7652 times)

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
WASAPI - resampling ?
« on: March 24, 2010, 07:37:46 pm »

I've enabled WASAPI with my new win7 system in MediaCenter.

I configured it as the dialogs told me to, resampling to 48k.

Since cd's are sampled at 44k, is resampling a good thing or does it adversely affect the sound quality?

I have a coax digital connection from my sound card to my audio system.

Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: WASAPI - resampling ?
« Reply #1 on: March 24, 2010, 08:46:15 pm »

Unless there is a particular reason you want to (eg HW Compatibility) I would not resample.
Logged
JRiver CEO Elect

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
Re: WASAPI - resampling ?
« Reply #2 on: March 25, 2010, 01:56:26 pm »

Does MC or WASAPI require resampling?  MC wouldn't play any files using WASAPI until I configured it as the dialog said to, to resample.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: WASAPI - resampling ?
« Reply #3 on: March 25, 2010, 02:22:31 pm »

Does MC or WASAPI require resampling?  MC wouldn't play any files using WASAPI until I configured it as the dialog said to, to resample.

If you use WASAPI exclusive mode (an options on Media Center's WASAPI configuration dialog), you can only play sample rates natively supported by the hardware.

Normally Windows itself (or the driver) resamples to a sample rate your sound card can support.  With exclusive communication (WASAPI, ASIO, Kernel Steraming), this manipulation is disabled.*

It's actually a good thing that external processing is disabled because Media Center has a higher quality resampler and audio chain.


* This actually depends on the hardware.  Some hardware is aggressive about also applying its own processing.  Normally it can be disabled in the sound card's control panels.
Logged
Matt Ashland, JRiver Media Center

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
Re: WASAPI - resampling ?
« Reply #4 on: March 25, 2010, 04:24:29 pm »

Matt,

I use WASAPI in non-exclusive mode since I have other programs that I use that send audio to my audio system at the same time as MC is in use (home automation stuff...).

I'm not an expert on sound processing and I didn't fully understand your reply (sorry).

Given that my hardware does support WASAPI and I will run it in non-exclusive mode, and MC requires that I resample to 48k, is WASAPI the best choice for me to be using?  Or is the resampling a good thing in this case?

I am not using any DAC's in my sound card, I use a digital coax connection to my audio system.

Logged

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: WASAPI - resampling ?
« Reply #5 on: March 25, 2010, 05:54:59 pm »

This is the architecture of Win7 audio

As you can see all output is routed trough the audio engine wit one exception: WASAPI in exclusive mode. The audio engine is the one doing the mixing, re-sampling, etc.
Using exclusive mode can improve the sound quality but it looks like your hard ware can only play 48 and not 44.1, the native sample rate of CD’s.
You might try WASAPI in exclusive mode, no SRC will be supplied.
If this fails it is probably because your hard ware don’t support 44.1
You might try WASAPI non exclusive using the SRC of J River or DS (Direct Sound, Win7 default)  and check if you hear any difference.
If not I recommend DS for a hassle free experience
Logged

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
Re: WASAPI - resampling ?
« Reply #6 on: March 27, 2010, 02:39:43 pm »

Vincent, thanks for the reply.

I swapped from using the motherboard sound to my other card and now I can get WASAPI to run at 44.1k without resampling.  Thanks!
Logged
Pages: [1]   Go Up