CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Playing a tone

  1. #1
    Join Date
    Apr 1999
    Posts
    5

    Playing a tone

    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

  2. #2
    Guest

    Re: Playing a tone

    yuo can set frequency in the directsound buffer
    DSBCAPS_CTRLFREQUENCY

    IDirectSoundBuffer::SetFrequency
    method to set the frequency


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured