From: adsgohere AT durchnull DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: .wav and Allegro References: <9g29ue$s17$1 AT vishnu DOT jussieu DOT fr> X-DAUs: lesen Headers, ohne zu wissen, was das ist X-Homepage: http://www.durchnull.de User-Agent: slrn/0.9.6.3 (Linux) Date: Mon, 11 Jun 2001 18:33:54 +0200 Message-ID: Lines: 15 NNTP-Posting-Host: 213.7.25.188 X-Trace: 992277898 news.freenet.de 29731 213.7.25.188 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Laurent Hugueville wrote: > Hi! > > I try to use the Allegro library to play wav files. MS-DOS under win98. > The quality of the sound is very poor... Do you have any idee why? > What can I do to get it better? The allegro version supplied with djgpp (the latest 'stable' version) only supports 8bit digital audio mixing. Try the latest WIP (work in progress) version, it is stable (at least I never had any problems with it) and should be of much better quality. -- #!/usr/bin/perl -w -- sequences $0=++$|;for(;;){print-length$0;$0=~s/(.)\1*/$1.length$&/ge;}print"\n";