• C

SOUNDCARD problem

How I can read the data from the soundcard directly ,using C language.  
kadhimAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kadhimAuthor Commented:
Edited text of question.
0
fmaritatoCommented:
try talking directly to the port on the board. Look at the help for the following functions: _outp and _inp. Here is a url:
http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_crt__inp.2c_._inpw.2c_._inpd.htm
0
kadhimAuthor Commented:
I know about following functions: _outp and _inp.But I need to port address of the soundcard (how can I get it?)
0
Increase Security & Decrease Risk with NSPM Tools

Analyst firm, Enterprise Management Associates (EMA) reveals significant benefits to enterprises when using Network Security Policy Management (NSPM) solutions, while organizations without, experienced issues including non standard security policies and failed cloud migrations

kadhimAuthor Commented:
I know about following functions: _outp and _inp.But I need to port address of the soundcard (how can I get it?)
0
SlartiCommented:
kadhim,
are you sure you want to do this? what you are describing is the (19)80's way of programming sound cards. It is not compatible with other sound cards and it is a lot of work. A much better way, if you are using Windows, is to use the Windows multimedia library which provides a simple, device-independant method of accessing sound cards. In fact, in my opinion this reason in itself is sufficient reason to transfer your project to Windows.
0
sumant032199Commented:
Don't go for Turbo C++ compiler for this HUGE STUFF. Instead of that, if your only criterian is C language then I would suggest you to use DJGPP compiler (32 bit)V2.0 which is readily available at www.delorie.com for free.

There is a large collection of programs
and libraries,one of them is ALLEGRO is a wonderful way of interfacing sound card in C. It comprises of stunning graphics and easy interface. ALLEGRO means ALLEGRO Low LEvel Game ROutines.

If you are ready to switch from Turbo C to DJGPP then this is the solution you need.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C

From novice to tech pro — start learning today.