Windows音频SDK的发展历程

时间:2022-10-21 17:06:08

WASAPI is one of several native audio libraries in Windows. PortAudio actually supports five of them: Windows Multimedia (MME), the first built-in audio API for Windows 3.1x; DirectSound, the audio subsystem of DirectX for Windows 95; Windows Driver Model / Kernel Streaming (WDM/KS), the improved audio system for Windows 98; ASIO, a third-party API developed by Steinberg to make pro audio possible on Windows; and finally, Windows Audio Session API (WASAPI), introduced in Windows Vista to bring a modern audio API to Windows.

MME -> DIRECTSOUND -> WDM ->WASAPI  很多人喜欢用DIRECT SOURND, 其实DIRECT SOUND也不是什么好鸟,只不过可以兼容WINDOWS XP,网上又有很多学习资源而已,其实这些学习资源也很乱,各有各的问题。

所以,目前音频播放,我用的是SDL这个库,简单,几行代码就能播出声音了。