I have written a multithreaded program in C++.
When I call the function Beep(frequency, 1000milliseconds),
the application blocks for 1000milliseconds and then continues processing.
I need to know if there is any function in C++ to make an asynchronous sound at a particular frequency. I know Playsound() can be used for Async sound. But it only takes wav files as parameters. It does not accept a "Frequency"
We just need to asynchoroussly play a sound at a particular freuqncey. Can someone tell me how to do this?
Thanks
Comments
: When I call the function Beep(frequency, 1000milliseconds),
: the application blocks for 1000milliseconds and then continues processing.
:
: I need to know if there is any function in C++ to make an asynchronous sound at a particular frequency. I know Playsound() can be used for Async sound. But it only takes wav files as parameters. It does not accept a "Frequency"
:
: We just need to asynchoroussly play a sound at a particular freuqncey. Can someone tell me how to do this?
: Thanks
:
This beep thing makes the PC speaker "talking", which can not give two sounds at one time.... :-(
****************
Any questions? Just ask!
:-) [b][blue]GAASHIUS[/blue][/b] :-)