adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] Audio feedback


From: Kai Sterker
Subject: Re: [Adonthell-devel] Audio feedback
Date: Sat, 30 Jun 2012 10:26:08 +0200

On Fri, Jun 29, 2012 at 11:34 PM, Chris Frey <address@hidden> wrote:

> Well, in some games you can select from a few choices:
>
>        - in-game sound
>        - menu feedback sounds
>        - background music

Guess in-game sound could be further divided into

    - voice
    - ambient noise
    - footsteps

Guess the way to go about this would be to have an enumeration of
those different types of audio and whenever loading a sound the type
would have to be specified along with the filename.

The configuration would contain a master volume and volume settings
for each audio type, each in the range of 0 to 100. Master could act
as a multiplier for all the others. A value of 0 would be equal to
off, i.e. the file would not even be loaded. SDL_mixer provides the
function Mix_Volume(int channel, int volume) that should do exactly
what we require.

> I hadn't thought of volume, but yeah, that makes sense too.  It's probably
> more important to get the balance right by default, but having it
> adjustable would be good.
>
> I just can see a situation where clicks could get annoying after 5 hours
> of straight game play. :-)

Agreed. With WE it's not so much of a problem, since it wouldn't last
you five hours, but for the future it would be a good thing to have.

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]