Solved

playing a sound file .wav or .voc

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now