Add missing effects to modifier array.

Change AMP_POSITION to AMP_A_POSITION.

Add AMP_B_POSITION to the modifier array.

Add AMP_PRESENCE to the modifier array and move it to follow Treble
in the Equalizer effect.

Add EQ_B_POSITION settings to the modifier array.

Change the formatting of the debug messages to print more
readable columns.
This commit is contained in:
Tim LaBerge
2012-02-26 21:21:27 -08:00
parent 4351613e72
commit 6a16e66cbd
4 changed files with 60 additions and 51 deletions

View File

@@ -250,7 +250,7 @@ void push_message(GString *msg)
case RECEIVE_PARAMETER_VALUE:
unpack_message(msg);
SettingParam *param = setting_param_new_from_data(&msg->str[8], NULL);
g_message("ID: %d Position: %d Value: %d", param->id, param->position, param->value);
g_message("ID: %5d Position: %2d Value: %.1d", param->id, param->position, param->value);
GDK_THREADS_ENTER();
apply_setting_param_to_gui(param);
@@ -304,7 +304,7 @@ void push_message(GString *msg)
x = 10;
do {
param = setting_param_new_from_data(&msg->str[x], &x);
g_message("Received global param ID: %d Position: %d Value: %d",
g_message("Received global param ID: %5d Position: %2.1d Value: %6.1d",
param->id, param->position, param->value);
setting_param_free(param);
} while ( (x < msg->len) && n < tot);