13 years C/C++/C# programing, focus on embedded and mobile device development.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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这个库,简单,几行代码就能播出声音了。

posted on 2017-11-15 11:11  woaiusd  阅读(628)  评论(0编辑  收藏  举报