delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/05/09:16:17

From: gah AT jet DOT es (Grzegorz Adam Hankiewicz)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Alternatives to Allegro...
Date: Fri, 05 Jun 1998 13:04:40 GMT
Organization: Gogosoftware
Lines: 28
Message-ID: <3577e305.3597679@news.jet.es>
References: <6l78cd$t6e AT news3 DOT force9 DOT net>
NNTP-Posting-Host: infon13.jet.es
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 5 Jun 1998 00:40:06 +0100, "BGillhespy" 
>Anyway, I've tried using the Allegro functions, but they seem to loose huge
>amounts from the low and high end of the audio spectrum.
>Allegro turned it into nothing more than a glorified fart.
>
>Is this an Allegro problem, or just a DOS problem?  The sample sounds
>perfect when played though windows software.

There's nothing wrong with Allegro. The problem is that if you don't
write a configuration file for your sound card using the setup tool,
Allegro will attempt to use what I call "the easiest frequency", which
I believe is somewhere around 22Hz or even lower with some sound
cards.

Of course you need 44Mhz.

Have you tried the library libamp? It reproduces mp3 files, with the
same sound quality. How do they do that? Easy. They put in the
program's directory a file named Allegro.cfg with the following
content:

[sound]
sb_freq = 45454

Hopefully it will also work with your program.

- Grzegorz Adam Hankiewicz - gah AT jet DOT es - http://web.jet.es/gregorio/
- Gogosoftware - http://welcome.to/gogosoftware/

- Raw text -


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