Solved

playing a sound file .wav or .voc

Posted on 1998-07-09
2
205 Views
Last Modified: 2010-04-10
E.E how do you play a sound file through the speakers of a p.c? i don't have a sound blaster but a 100% compatible.
I'll give you the IRQ's and stuff.

240h
2 IRQ
1 DMA

if possible could you let me know which compiler you are using?.

Thank you.
0
Comment
Question by:Megabyte
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 100 total points
ID: 1167471
Does the PlaySound() API procedure work for your needs?
0
 
LVL 22

Expert Comment

by:nietod
ID: 1167472
If you want to "do it yourself", without windows' help  (or if this isn't for windows, I didn't think about that)  then you might want to look at.

http://www.creativelabs.com/wwwnew/tech/ftp/ftp-dev.html

They have sample source code and lots of programming information.
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question