WASAPI is still allowing the Windows volume control to work
Oct 29, 2010 at 8:46 PM Thread Starter Post #1 of 12

Vitor Machado

100+ Head-Fier
Joined
Dec 5, 2006
Posts
285
Likes
12
Hi!
biggrin.gif

 
So I've decided to try WASAPI. As expected, the driver equalizer doesn't work anymore, and neither do other sounds like system sounds. But the Windows volume control still works, is this expected?
 
I'm using Windows 7 x64 Professional, player is foobar2000.
 
Thanks!
 
Oct 29, 2010 at 10:19 PM Post #4 of 12


Quote:
None of the volume controls working here. Being output through optical out on the motherboard.
 
Win7x64 Professional, I might add.



Oh but using optical is a different story, I guess...
 
I'm using the analog front out.
 
Oct 29, 2010 at 10:41 PM Post #6 of 12


Quote:
im using usb the windows volume not working..only the foobar volume that works



USB is very much like digital out, I think... Digital output is probably the reason why yours and azncookiecutter volumes doesn't work.
 
But I thought the analog out should be affected too, that's weird.
confused.gif

 
Oct 29, 2010 at 11:33 PM Post #7 of 12
If I use wasapi, I can control the volume through foobar and through the STX control panel, but if I use ASIO I can only control the volume through foobar or the volume control on the back of my monitors. And this is using the RCA outs on the STX. 
 
Oct 30, 2010 at 2:59 AM Post #9 of 12
I think when you choose to use WASAPI with Foobar, it enters the "Exclusive Mode" and takes over the sound device you assigned to use in WASAPI mode. In exclusive mode, the device can only be controlled by one program at a time, in this case Foobar. If you want to use the sound device with everything under Windows (other programs, system sounds, etc.) and have use of its built in volume control panel, you have to take it out of WASAPI and make sure the device is chosen in Windows/Control Panel/Sound as the default device and configured properly.
When using my uDac for instance in Foobar to listen to music only, I choose (WASAPI :Speakers - Nuforce uDAC) under Foobars Output/Device menu. When I want to listen to music with Foobar (but sacrificing bypassing Windows kernal) and still hear other system sounds or say a games sounds, I choose (DS:Speakers - Nuforce uDAC) in Foobar. The DS means DirectSound, that is what the Windows kernal process sound system uses, and it will allow you to use Windows built in volume mixer. In DS mode, the sound device can be shared by more than one program at a time.
 I hope I didn't confuse you all more than help you. Good luck.
 
Jun 1, 2011 at 12:01 AM Post #10 of 12
When I use ASIO with my soundcard (Xonar DX) the Windows mixer doesn't do anything but when I use WASAPI/ASIO with my uDAC-2 (and WASAPI with my sound card) it still works...I thought it was supposed to bypass it completely?
 
Jun 1, 2011 at 6:09 PM Post #11 of 12
Vitor, WASAPI offers an exlusive mode and also bypasses any software mixing, format conversions or software volume controls like the volume sliders for each application in the Windows Mixer.
 
Whether the sound device's volume control works depends on your sound hardware (and drivers). If it supports a 'hardware' volume control then the you can control it through the master control in the Windows Mixer. Since this volume control is a capability of your sound device it works regardless of the audio API you chose (DS, KS, WASPI, ASIO ...).
 
Short answer: Simply set the master volume to 100%.
 
Jun 1, 2011 at 6:48 PM Post #12 of 12
 

[size=large] http://thewelltemperedcomputer.com/index.html[/size]

 

[size=large] WASAPI[/size]

WASAPI is Microsoft’s own ASIO, it talks straight to the soundcard if set to exclusive mode.
As it is exclusive mode, no other application can use the sound card.
No more system sounds at full blast over the stereo!
 
As WASAPI in exclusive mode talks straight to the driver of the audio device, the stream send to this device must match the capabilities of this device in terms of bit depth, sample rate, number of channels and audio format (PCM most of the time) otherwise it is silence.
The program using WASAPI can do this by configuring the audio device to match the source.
In this case we have bit perfect playback.
This allows for automatic sample rate switching as well.
 
The developer can also choose to adept the source to the capabilities of the audio device. 
If the source is mono and the audio device 2 channel, the developer might decide to send the same signal to both channels.
If the sample rate of the source is not supported by the hardware e.g. 192 kHz source with a 96 kHz audio device, the program using WASAPI has to do the SRC (Sample Rate Conversion).
Check if the SRC implemented by this program is an improvement compared with the SRC provided by Windows because writing a good SRC is not trivial.
 
Obvious using WASAPI in exclusive mode doesn’t guarantee bit perfect playback.
It is up to the developer of the media player using WASAPI to see to it that the playback is bit perfect.
Bit perfect playback is impossible by design if de properties of the audio file e.g. sample rate are not supported by the hardware.
More...
 
In my perception WASAPI delivers slight improvement in sound quality. Just a little more transparency.
The downside is that is can be a hassle to get it configured right.
If you don’t hear a difference you probably better stick to DS (Windows default) for a trouble free performance.
 
 

 ​
 

Users who are viewing this thread

Back
Top