delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/14/10:04:12

From: "Arthur" <arfa AT clara DOT net>
To: <djgpp AT delorie DOT com>
Subject: RE: Allegro Sound Config
Date: Wed, 14 Oct 1998 15:00:22 +0100
Message-ID: <000501bdf77a$fc5f0b80$a84b08c3@arthur>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
In-Reply-To: <7011bi$fre$1@nnrp1.dejanews.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

> In article <000001bdf6b8$714e1580$124d08c3 AT arthur>,
>   djgpp AT delorie DOT com wrote:
> > Yes, read the manual. You create a config file in memory, and
> tell Allegro
> > to parse that instead of a file on disk.
>
>  Ok, but using set_config_data (...) wouldn't I have to keep re-installing
> the sound driver?  It says, "...used by all subsequent config
> functions...",
> so I couldn't just set the volume with set_config_data and simply play my
> next sound, right?  (Something like: set_midi_vol (255);  would
> have been so
> much easier.)  It seems as if set_config_data is the only option, I was
> looking for a short function to do the trick, thanks.

Yes, sound volume has been missed out on in the latest version of Allegro.
This will be fixed (IIRC) in Allegro 4, when Shawn gets round to writing it.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


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