Message-ID: From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: Sound Blaster and 16bits WAV files. Date: Tue, 9 Nov 1999 11:04:52 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Reply-To: djgpp AT delorie DOT com cberczely AT my-deja DOT com writes: > Hi, could someone point me to a source code to > play 16 bits WAVs with a > Sound Blaster? You could look at the sb.c and dma.c files from Allegro. > I could play only 8bits sounds, but it is hard to > find something for > 16bits... It's pretty much the same as 8 bit mode, except that you have to feed different magic numbers to the DMA controller and SB DAC controller. Search the Allegro sb.c for references to sb_16bit, and wherever that occurs, that's where you need to change something from the 8 bit mode. Shawn Hargreaves.