Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要从主板/板载声音设备调用声音,而不是从外部扬声器。就像启动错误声音时一样。
我一直在尝试在启动失败或内存故障问题时调用来自主板的声音,但我一直在尝试的所有工作都是针对外部扬声器
应该很简单:
Console.Beep();
其实,好像没那么简单:
https://blogs.msdn.microsoft.com/larryosterman/2010/01/04/whats-up-with-the-beep-driver-in-windows-7/