Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: [PATCH 815794] Increase/decrease volume from .cfg file

[PATCH 815794] Increase/decrease volume from .cfg file

From: Johan Vromans <jvromans_at_squirrel.nl>
Date: Wed, 1 Oct 2003 14:05:12 +0200

This small patch is an alternative implementation of the functionality
of patch 815747. It implements relative volume setting that can be
used in config files to change the current volume with a given
percentage. Simply prefix the value with a '+' or '-' sign to
increase/decrease the current setting with the desired percentage.

This is easier and more intuitive than the "rvolume" approach, but has
the disadvantage that a non-patched RockBox will interpret negative
values as the minimal setting, and positive values as absolute values.

This patch is mostly effective in conjuction with patch 750691, that
implements per-file/directory/playlist config settings. For example,
if a particular track or album is louder than average, a per-album
config file can use the rvolume setting to decrease the volume. This
is much better than having to set the volume to an absolute value.
 
This patch is easy, simple, effective, and updates the documentation
as well ;-).

-- Johan
Received on 2003-10-01

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy