Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to play *.wav file through the pc speaker?!
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00296831
Message ID:
00296867
Views:
21
>sorry~
>can u tell more specify~!
>THX

Windows controls sounds. That control is governed by the sond card and it's driver. The PC Speaker is not a valid sound device in windows. You would have to find a driver for the PC Speaker first.

After you get the driver, you will have to hack into the registry to switch the settings to guide windows in playing a sound.

I would not switch the output from the sound card to the pc speaker. Just play the wav through the sound card. If they don't have speakers attached, per company policy, you are out of luck. < it can be done but I have never thought of doing it>

__Stephen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform