www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/15/17:43:34

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: (none)
Date: Tue, 15 Apr 1997 19:34:07 +0100
Organization: None
Distribution: world
Message-ID: <0SeuDAAfo8UzEwT9@talula.demon.co.uk>
References: <Pine DOT SV4 DOT 3 DOT 93 DOT 970415101522 DOT 11060C-100000 AT giasbga>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 29
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Chirayu Krishnappa (chirayu AT poboxes DOT com) writes:
>    This mail is addressed to Shawn. (I dunno how to address
>a message to a specific person in a mailing list).

Just send it to me by private email (shawn AT talula DOT demon DOT co DOT uk) rather
than to the list. But by posting publicly, you get the chance of other
people helping you if I don't know the answer...

>The example (ex16.c I think) for playing .wav files has a pan
>parameter. This does not seem to have any effect and only the
>1st 10 seconds or so the the 3 min. wave file is played. Is
>this a known bug?

The 10 second problem is a known bug (fixed in the version currently on
my hard drive), due to an overflow in the counter used to store the
sample positions. It only occurs with very large samples, previously
anything over a minute or so, but in my fixed version you can play up to
around 6 minutes before it wraps. Samples longer than that aren't going
to fit into RAM in any case :-)

As to not playing in stereo, what's your soundcard? Stereo playback is
only be supported by the SB-Pro and SB16 drivers, which one is Allegro
using? (play.exe prints info about the digital and MIDI sound drivers
when it is run).


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019