Difference between revisions of "Foobar2000:Components/WASAPI output support (foo out wasapi)"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Removed Vista bug notice, can't reproduce this anymore on fully patched Vista.)
(Various updates.)
Line 6: Line 6:
  
 
== Differences between WASAPI and [[Foobar2000:Components 0.9/ASIO support|ASIO]] / [[Foobar2000:Components 0.9/Kernel Streaming Output (foo out ks)|Kernel Streaming]] from foobar2000 user's perspective ==
 
== Differences between WASAPI and [[Foobar2000:Components 0.9/ASIO support|ASIO]] / [[Foobar2000:Components 0.9/Kernel Streaming Output (foo out ks)|Kernel Streaming]] from foobar2000 user's perspective ==
* Requires Windows Vista - not available on Windows XP or older.
+
* Requires Windows Vista or Windows 7 - not available on Windows XP or older.
 
* Works with more soundcards - contrary to e.g. ASIO, it doesn't require any special support from soundcard's manufacturer, other than providing a Windows Vista compatible driver.
 
* Works with more soundcards - contrary to e.g. ASIO, it doesn't require any special support from soundcard's manufacturer, other than providing a Windows Vista compatible driver.
 
* Guarantees muting of any other sounds played through the soundcard - with ASIO and KS, muting occurred with some soundcards but not with all of them; it was a side effect rather than a feature.
 
* Guarantees muting of any other sounds played through the soundcard - with ASIO and KS, muting occurred with some soundcards but not with all of them; it was a side effect rather than a feature.
Line 13: Line 13:
 
* Volume control is delayed.
 
* Volume control is delayed.
 
* Windows Vista Service Pack 1 or newer is strongly recommended; WASAPI exclusive mode is unusable on significant percentage of pre-SP1 machines because of bugs in Windows Vista.
 
* Windows Vista Service Pack 1 or newer is strongly recommended; WASAPI exclusive mode is unusable on significant percentage of pre-SP1 machines because of bugs in Windows Vista.
* For currently unknown reasons, this component does not cooperate with certain soundcards such as Creative X-Mod.
+
* With certain soundcards you might need to fiddle with output buffer length in [[Foobar2000:Preferences:Output|output preferences]] before getting acceptable results - with certain buffer lengths, playback may fail to start entirely or get stuck after a few seconds. USB audio devices typically require low buffer lengths to operate properly. If you can't get acceptable results, [[Foobar2000:Components 0.9/Kernel Streaming Output (foo out ks)|Kernel Streaming]] might work better with your specific device.
* With certain soundcards you might need to fiddle with output buffer length in [[Foobar2000:Preferences:Output|output preferences]] before getting acceptable results - with certain buffer lengths, playback may fail to start entirely or get stuck after a few seconds.
+
  
 
== Links ==
 
== Links ==
 
* [[Bypassing Windows Mixer]]
 
* [[Bypassing Windows Mixer]]
* [http://www.foobar2000.org/components/index.html Official Website]
+
* [http://www.foobar2000.org/?page=Download Official Website]

Revision as of 22:34, 18 May 2009

Windows Audio Session API output support

Description

The foobar2000 Windows Audio Session API (WASAPI) output support component allows you to play your music using WASAPI exclusive mode.

WASAPI is a new audio output method introduced in Windows Vista; among other things, it provides an exclusive mode that allows applications to take full control over soundcard's resources (muting any sounds played by other applications) and play unaltered bitstream without passing it through the Windows mixer.

Differences between WASAPI and ASIO / Kernel Streaming from foobar2000 user's perspective

  • Requires Windows Vista or Windows 7 - not available on Windows XP or older.
  • Works with more soundcards - contrary to e.g. ASIO, it doesn't require any special support from soundcard's manufacturer, other than providing a Windows Vista compatible driver.
  • Guarantees muting of any other sounds played through the soundcard - with ASIO and KS, muting occurred with some soundcards but not with all of them; it was a side effect rather than a feature.

Limitations of this component

  • Volume control is delayed.
  • Windows Vista Service Pack 1 or newer is strongly recommended; WASAPI exclusive mode is unusable on significant percentage of pre-SP1 machines because of bugs in Windows Vista.
  • With certain soundcards you might need to fiddle with output buffer length in output preferences before getting acceptable results - with certain buffer lengths, playback may fail to start entirely or get stuck after a few seconds. USB audio devices typically require low buffer lengths to operate properly. If you can't get acceptable results, Kernel Streaming might work better with your specific device.

Links