sound(4): Fix order of parameters for custom equalizer band pass filter.

When specifying a custom band-pass filter for the sound(4) equalizer,
use the same format as used by the resulting C-code define to avoid
confusion.

PR:		195760
Sponsored by:	NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2022-08-22 09:41:05 +02:00
parent 7cb73f654f
commit e7314192ce

View File

@ -300,9 +300,8 @@ BEGIN {
split(arg[i++], subarg, ",");
FEEDEQ_TREBLE_SFREQ = 1.0 * subarg[1];
FEEDEQ_TREBLE_SLOPE = 1.0 * subarg[2];
split(arg[i++], subarg, ",");
FEEDEQ_BASS_SFREQ = 1.0 * subarg[1];
FEEDEQ_BASS_SLOPE = 1.0 * subarg[2];
FEEDEQ_BASS_SFREQ = 1.0 * subarg[3];
FEEDEQ_BASS_SLOPE = 1.0 * subarg[4];
split(arg[i++], subarg, ",");
FEEDEQ_GAIN_MIN = floor(1.0 * subarg[1]);
FEEDEQ_GAIN_MAX = floor(1.0 * subarg[2]);