From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8e7a2129ce38c12c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-15 09:39:41 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!aragorn.hemma.kungalv.se!nobody From: d96andgi@dtek.chalmers.se (Anders Gidenstam) Newsgroups: comp.lang.ada Subject: Re: soundcard Date: Mon, 15 Jan 2001 18:39:37 +0100 Organization: Chalmers University of Technology Message-ID: References: <93mr6p$33l$1@eol.dd.chalmers.se> NNTP-Posting-Host: licia.dtek.chalmers.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: nyheter.chalmers.se 979580228 4990 129.16.30.88 (15 Jan 2001 17:37:08 GMT) X-Complaints-To: abuse@chalmers.se NNTP-Posting-Date: 15 Jan 2001 17:37:08 GMT X-Newsreader: knews 1.0b.1 Xref: supernews.google.com comp.lang.ada:4018 Date: 2001-01-15T17:37:08+00:00 List-Id: In article <93mr6p$33l$1@eol.dd.chalmers.se>, "Daniel Nilsson" 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