Thread: Sound

  1. #1
    Former Member
    Join Date
    Oct 2001
    Posts
    955

    Sound

    how can I play sound in my computer, I mean without using SndPlaySound(), I want for example to make a program that reads .WAV's and I want to send to the soundcard the raw sound data (sample by sample).

    Anyone knows how to do it?



    Oskilian

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Look at waveOut functions.
    Including waveOutOpen, waveOutPrepareHeader ect and MM_WOM messages in the callback.

    Petzoid has a couple of examples.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sound lags in multi-thread version
    By VirtualAce in forum Game Programming
    Replies: 23
    Last Post: 08-27-2008, 11:54 AM
  2. Low latency sound effects
    By VirtualAce in forum Game Programming
    Replies: 0
    Last Post: 12-21-2004, 01:58 AM
  3. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  4. Help me modify my Sound Server
    By zdude in forum C Programming
    Replies: 1
    Last Post: 05-14-2003, 05:15 PM
  5. sounds?
    By BODYBUILDNERD in forum C++ Programming
    Replies: 6
    Last Post: 12-06-2002, 03:34 PM