user558821
user558821

Reputation: 21

Simulation of PC Speaker in Windows 7?

I was quite surprised recently to find that the Beep( ) function in the Windows API is, as of Windows 7 (and Visa x64?), rerouted to the sound card. I'm currently working on a 2D video game engine and thought that it would be a cool feature to allow for use of the PC speaker. Is there any way to programmatically call the PC Speaker in Windows 7? If not, are there any resources available that could help with the simulation of the PC Speaker through a sound card? I know DOSBOX is able to do the later...Any help is appreciated.

---Dan

Upvotes: 1

Views: 2093

Answers (1)

Hans Passant
Hans Passant

Reputation: 941545

Larry Osterman, the MSFT programmer that worked on the audio sub-system since Vista blogged about the fate of the Beep driver. His post is here.

Upvotes: 2

Related Questions