Click to See Complete Forum and Search --> : Playing a tone


Funkmaster P
April 27th, 1999, 08:35 PM
All I want to do is play a simple tone at varying frequencies, I searched through all of the help, and all I could find was DirectSound, wave-audio devices, and Midi support, isn't there just a simple function like:
void sound( int freq); !?!?!

FUNKMASTER P

April 27th, 1999, 09:34 PM
yuo can set frequency in the directsound buffer
DSBCAPS_CTRLFREQUENCY

IDirectSoundBuffer::SetFrequency
method to set the frequency