Solved

playing a sound file .wav or .voc

Posted on 1998-07-09
2
206 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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 how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

792 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