Re: soundcard
From: Adrian Hoe (byhoe_at_greenlime.com)
Date: 01/28/05
- Next message: Andrew Carroll: "Archives for C.L.A"
- Previous message: Nick Roberts: "Re: DOM and SAX parsing in Ada"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jan 2005 18:57:23 -0800
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
- Next message: Andrew Carroll: "Archives for C.L.A"
- Previous message: Nick Roberts: "Re: DOM and SAX parsing in Ada"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|