Play sound on internal speakers and possibility to use old xp api function?

前端 未结 2 1666
不知归路
不知归路 2020-12-22 00:19

After the release of windows vista the Windows Function Beep plays a beep on your connected speakers instead of the internal one.

Is there anyway to access the old f

2条回答
  •  独厮守ぢ
    2020-12-22 00:51

    The majority of computers now don't have internal speakers, so there's nothing there to access.

    The function was intentionally removed in Windows 7, according to Larry Osterman's blog; this post from the archives specifically discusses that issue. It seems that Beep.sys was removed, and the functionality of that old pseudo-device driver was changed to intentionally redirect sound to the sound card instead. The article is an interesting read from a historical standpoint.

    Larry is a MS employee who worked on the new audio framework for Vista and Win7, and he's been at MS since the dinosaur days (MS-DOS at least :D) so he'd probably know. :)

提交回复
热议问题