comp.lang.ada
 help / color / mirror / Atom feed
From: "Adrian Hoe" <byhoe@greenlime.com>
Subject: Re: soundcard
Date: 27 Jan 2005 18:57:23 -0800
Date: 2005-01-27T18:57:23-08:00	[thread overview]
Message-ID: <1106881043.723940.293120@f14g2000cwb.googlegroups.com> (raw)
In-Reply-To: <pkcv39.m51.ln@aragorn.hemma.kungalv.se>

Hi,

I am searching for something similar and I have found this old thread
but my interest is not in programming sound card.


Anders Gidenstam wrote:
> 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.



What's the difference of open/read/write between Florist POSIX binding
and gnat_os_lib?









> 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.

Yes, I'm interested to take a look at the code. Where can I find them?






> /Anders Gidenstam
> --
> --------------------------------------------
> "A well-written program is its own heaven;
>  a poorly-written program is its own hell."
>   - The Tao of Programming


Thanks.
--
Adrian Hoe




      reply	other threads:[~2005-01-28  2:57 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 ` soundcard Anders Gidenstam
2005-01-28  2:57   ` Adrian Hoe [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox