在网上找到的都是VB 或者C++的问题 当切换窗体时DirectSound 就不播放声音 求大神
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
// play this buffer, even if the app loses focus.
bufferDescription.GlobalFocus = true;