Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Is there a simple/efficient way to play a frequency at a volume using c++? I need a way to play sound through the speakers so I don't think Beep() will do the job, but I want to have access to the audio in the memory so I don't thing PlaySound() will work either. I do not want to use any libraries either. I just want to play a frequency, I can load the input file myself. Is there some way I can do this by just using the libraries that come standard on windows XP OS?