Windows sound API questions
I''ve been digging around for Windows sound program leads
since my last post and found a mention of sndPlaySound()
in a Windows graphics and sound programming book.
It dosen''t go into detail about other DSP type sound
programming on Windows, so I was wondering if there
are any experianced Windows sound programmers who could
give me advice on playing basic DSP (ie wav files) sound on Windows?
Thanks in advance!
Tara Milana - WP Entertainmenthttp://wolfpack.twu.net/Comp graphics artist and programmer.
hi
sndPlaySound can play wave samples from file or a memory pointer but if you need more functionality then you should use the windows wave device API functions which start with wave e.g.
waveOutOpen and waveOutPrepareHeader...
These functions also let you more access and control to the
sound data like direct access to samples.
Reply if you need more help on this.
sndPlaySound can play wave samples from file or a memory pointer but if you need more functionality then you should use the windows wave device API functions which start with wave e.g.
waveOutOpen and waveOutPrepareHeader...
These functions also let you more access and control to the
sound data like direct access to samples.
Reply if you need more help on this.
--MFC (The Matrix Foundation Crew)
Yes I do need more help, I would appreciate any
advice you can give me!
I tried compiling a test app under Windows to call
sndPlaySound() but I couldn''t find the lib to link
it to. I get an undefined referance error.
advice you can give me!
I tried compiling a test app under Windows to call
sndPlaySound() but I couldn''t find the lib to link
it to. I get an undefined referance error.
Tara Milana - WP Entertainmenthttp://wolfpack.twu.net/Comp graphics artist and programmer.
February 22, 2001 03:46 AM
The .lib to link sndPlaySound is the winmm.lib (in VC++ anywayz)
- I posted in the other thread within this subject -
http://www.relisoft.com a bit down on the page you can get some tips for WIN32 - uses C++.
also: at http://www.wotsit.org - you can get the basic .wav information
- it is not as hard as it looks and it is actually pretty intresting reading if you''re new to filehandling and stuff like that - I appreciated it anyway.
It is nice to know that someone else have a similar problem.
CYA
- I posted in the other thread within this subject -
http://www.relisoft.com a bit down on the page you can get some tips for WIN32 - uses C++.
also: at http://www.wotsit.org - you can get the basic .wav information
- it is not as hard as it looks and it is actually pretty intresting reading if you''re new to filehandling and stuff like that - I appreciated it anyway.
It is nice to know that someone else have a similar problem.
CYA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement