Sign in to follow this  
Starfox

Lightweight audio output API for Windows

Recommended Posts

Starfox    504
What's the lightest weight API for windows that allows raw PCM output to multiple speaker configurations (2.1, 5.1, 7.1) on Windows, That's NOT OpenAL? All i need is to stream raw PCM data, no 3d sound or otherwise is required. TIA.

Share this post


Link to post
Share on other sites
Starfox    504
"In all current versions of Microsoft Windows, including Windows Me and Windows XP, the waveOut API has a limitation that prevents it from taking advantage of all available hardware acceleration. An audio stream that is output by the waveOut API always passes through KMixer, even if the audio device provides hardware-accelerated mixing. If waveOut and DirectSound audio streams are played concurrently, the DirectSound audio streams can still use any available hardware-mixing pins, although the waveOut streams all pass through KMixer and go to a single hardware buffer."

Damn. So, what's the lightest way to output PCM while maintaining HW acceleration?..

Share this post


Link to post
Share on other sites
benryves    1999
Quote:
Original post by Starfox
Damn. So, what's the lightest way to output PCM while maintaining HW acceleration?..
I only recall problems with hardware accelerated sound (stuttering and crashes), and hardware accelerated sound has been (thankfully?) culled from Vista's audio system (though I believe you can still get hardware accelerated sound via specialised APIs such as OpenAL - DirectSound is software mixed).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this