*** apps/settings.c~ Wed Oct 1 13:40:07 2003 --- apps/settings.c Wed Oct 1 13:50:56 2003 *************** *** 803,808 **** --- 803,814 ---- { int num = atoi(value); + if ( type == SOUND_VOLUME ) { + /* +10 means: increase with 10%, -10 means: decrease with 10%. */ + if ( *value == '+' || num < 0 ) + num = *setting * (100 + num ) / 100; + } + num = mpeg_phys2val(type, num); if ((num > mpeg_sound_max(type)) || *** docs/CUSTOM_CFG_FORMAT~ Wed Oct 1 13:40:07 2003 --- docs/CUSTOM_CFG_FORMAT Wed Oct 1 13:51:57 2003 *************** *** 14,20 **** Settings (allowed values) [unit] -------------------------------- ! volume (0 - 100) bass (-15 - 15) treble (-15 - 15) balance (-100 - 100) --- 14,20 ---- Settings (allowed values) [unit] -------------------------------- ! volume (0 - 100; +num, -num for percent incr/decrement) bass (-15 - 15) treble (-15 - 15) balance (-100 - 100)