Thread: DirectSound

  1. #1
    Registered User headexplodes's Avatar
    Join Date
    Aug 2001



    I have a fairly simple game using directx. I now want to put sound into it and thought that the logical step would be to use DirectSound, as i had used it Visual Basic before and had no trouble.

    I downloaded the SDK and tried to follow one of the tutorials. It raves on about streaming buffers and uses some extra header file with some extra functions for transfering bits into the streaming buffer that, no matter how hard i try, cant get to work.

    Is there an EASY way to load a sound from a resource/file into directx and play it! I know it shouldnt be too easy but at least a tutorial that you can understand. Does anyone know of a class or tutorial that could help me?

    Thanx, headexplodes.
    /* MSN and E-Mail - */
    If Bill Gates got a dollar for every time windows crahsed... oh... he does.
    I always use MSVC++6.0

  2. #2
    Check out Sunlight directx tutorial.

  3. #3
    Registered User
    Join Date
    Sep 2001

    Post Try the BASS library

    this library's pretty easy to use, get it here:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  2. DirectSound - multiple sounds
    By Magos in forum Game Programming
    Replies: 9
    Last Post: 03-03-2004, 04:33 PM
  3. DirectSound vs DirectMusic
    By Trauts in forum Windows Programming
    Replies: 3
    Last Post: 10-05-2003, 05:49 PM
  4. DirectSound help
    By Hunter2 in forum Game Programming
    Replies: 0
    Last Post: 06-09-2003, 02:43 PM
  5. DirectSound vs. DirectMusic
    By Hunter2 in forum Game Programming
    Replies: 3
    Last Post: 06-05-2003, 04:30 PM