From: d96andgi@dtek.chalmers.se (Anders Gidenstam)
Subject: Re: soundcard
Date: Mon, 15 Jan 2001 18:39:37 +0100
Date: 2001-01-15T17:37:08+00:00 [thread overview]
Message-ID: <pkcv39.m51.ln@aragorn.hemma.kungalv.se> (raw)
In-Reply-To: 93mr6p$33l$1@eol.dd.chalmers.se
In article <93mr6p$33l$1@eol.dd.chalmers.se>,
"Daniel Nilsson" <danielnilsson@REMOVE_THIShem3.passagen.se> writes:
> Hi.
> I need info on how to use soundcard in ada95 , Myself I have a soundblaster
> 128 pci. I have no prior experience in soundcard-programming.
Hello,
Well, this of course completely operating system dependent. (Assuming that
you are using an operating system, but I'd guess you are ;)
Anyway, if you happen to use Linux (or some other Unix system) the sound
system are controlled through some device files (for example
/dev/dsp and /dev/mixer on linux) using the OS read/write and ioctl calls.
So what you want/need is an Ada-binding for the soundsystem on your
operating system.
The Florist POSIX binding provide open/close/read/write but I think you'll
need to create your own binding for the ioctl calls.
I have a small partial working (maybe) binding for the linux mixer API that
I wrote some years ago, if you are interested I could send it.
/Anders Gidenstam
--
--------------------------------------------
"A well-written program is its own heaven;
a poorly-written program is its own hell."
- The Tao of Programming
next prev parent reply other threads:[~2001-01-15 17:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-12 11:54 soundcard Daniel Nilsson
2001-01-12 15:11 ` soundcard Ted Dennison
2001-01-12 19:37 ` soundcard tmoran
2001-01-15 17:39 ` Anders Gidenstam [this message]
2005-01-28 2:57 ` soundcard Adrian Hoe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox