DirectSound

This is a discussion on DirectSound within the Game Programming forums, part of the General Programming Boards category; Hi, I have a fairly simple game using directx. I now want to put sound into it and thought that ...

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

    DirectSound

    Hi,

    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 - head_explodeshotmail.com */
    If Bill Gates got a dollar for every time windows crahsed... oh... he does.
    I always use MSVC++6.0

  2. #2
    Banned maes's Avatar
    Join Date
    Aug 2001
    Posts
    744
    Check out Sunlight directx tutorial.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    4

    Post Try the BASS library

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

    www.un4seen.com/music

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, 06:49 PM
  4. DirectSound help
    By Hunter2 in forum Game Programming
    Replies: 0
    Last Post: 06-09-2003, 03:43 PM
  5. DirectSound vs. DirectMusic
    By Hunter2 in forum Game Programming
    Replies: 3
    Last Post: 06-05-2003, 05:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21