- Introduction |
- Hardware |
- Software |
- Sound Quality |
- Reference |
- Enjoy
Vista has a completely new audio mixing engine, so WASAPI gives you the chance to plug directly into it rather than going through a layer of abstraction. The reasons for the new audio engine are:
Source: Mark .Net
A sound card can only play at 1 sample rate at the time.
If you have your music playing and another application kicks in, a system sound, a VOIP call, audio embedded in a web page, etc, all streams must be converted to the same sample rate.
Likewise, if you play a CD but your sound card only supports 48 kHz (the cheap ones do), sample rate conversion must be applied (otherwise it will sound like a 33 rpm record played at 45).
This is the task of the Windows audio engine.
WASAPI in exclusive mode bypasses the audio engine.
As it is exclusive mode, no other application can use the sound card.
WASAPI communicates straight with the audio device.
What your media player sends to WASAPI must match the capabilities of the audio device in terms of bit depth and sample rate.
If this is not the case it is silence or 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.
Using WASAPI requires a media player supporting this driver.
You might have to configure the audio device too.