Xref: news2.mv.net comp.os.msdos.djgpp:4557 From: Ben Ashley Newsgroups: comp.os.msdos.djgpp Subject: Re: getting the sb16 into stereo mode Date: Tue, 04 Jun 96 12:03:48 GMT Organization: Flag Bearers Lines: 36 Message-ID: <833889828snz@flag.demon.co.uk> References: Reply-To: Ben AT flag DOT demon DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article slh100 AT york DOT ac DOT uk "Shawn Hargreaves" writes: > On Mon, 3 Jun 1996 thomas AT unix DOT cde DOT com wrote: > > > Does anyone have any sample code that is easy to read on getting the > > sb16 into stereo playback. I have a player I made and it does up to > > My Allegro library contains code for using the SB16 in stereo: check out > ftp://x2ftp.oulu.fi/pub/msdos/programming/djgpp2/alleg20.zip. Basically > you set up your DMA transfer with a different command byte to the SB DSP > chip (for a good list of DSP commands, look at the SBlaster docs: I found > these on x2ftp, or can mail them to you if you can't find them). Once > you've programmed the card for a stereo transfer you feed it twice as > much data, with the left and right channels interleaved, eg. the first > word is the left channel, second word is right channel, third word is > left channel again, etc. Hi, is there anywhere else I can obtain this file? I followed a link from the DJGPP Game programming resources Homepage, but the link to all the files is sooooooooo slow, sometimes it just does not download them at all. Is there a site, preferably in the UK, where I can obtain these files? Your help is appreciated in advance... -- Cheers, Ben -=Look for "Moo-Juice" on the IRC=- ---------------------====### legal notice ###====-------------------------- Microsoft Network is prohibited from redistributing this work in any form,in whole or in part. License to distribute this post is available to Microsoft for $499. Posting without permission constitutes an agreement to these terms.