Re: soundcard

From: Adrian Hoe (byhoe_at_greenlime.com)
Date: 01/28/05


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


Relevant Pages

  • Re: Try this with Google
    ... you can find what you are searching for ... which is built on top of a DOS, ... And amazingly enough the "most powerful" macro program doesn't run on ... any operating system made in the last twenty years. ...
    (sci.physics)
  • Posix Regexp library
    ... I'm searching for a posix regexp library for an embedded system, ... I do not have an operating system ... so we provide our own malloc/free function ...
    (comp.arch.embedded)
  • Re: Open only an application
    ... I have been searching for it before sending my post, ... Could be more specific please (a subject for exaple). ... >> The screen doesn´t have to show the taskbar, ... >> access to the operating system. ...
    (microsoft.public.dotnet.framework.compactframework)