mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
audioconvert: improve debug
When we are mixing unnamed channels, place MONO in the debug output.
This commit is contained in:
parent
b927063b89
commit
8d4fe59764
1 changed files with 2 additions and 0 deletions
|
|
@ -522,6 +522,7 @@ done:
|
||||||
|
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
idx2 += snprintf(str2 + idx2, sizeof(str2) - idx2, "%-4.4s ",
|
idx2 += snprintf(str2 + idx2, sizeof(str2) - idx2, "%-4.4s ",
|
||||||
|
src_mask == ~0LU ? "MONO" :
|
||||||
spa_debug_type_find_short_name(spa_type_audio_channel, j + 3));
|
spa_debug_type_find_short_name(spa_type_audio_channel, j + 3));
|
||||||
|
|
||||||
mix->matrix_orig[ic][jc++] = matrix[i][j];
|
mix->matrix_orig[ic][jc++] = matrix[i][j];
|
||||||
|
|
@ -536,6 +537,7 @@ done:
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
spa_log_info(mix->log, " %s", str2);
|
spa_log_info(mix->log, " %s", str2);
|
||||||
spa_log_info(mix->log, "%-4.4s %s %f",
|
spa_log_info(mix->log, "%-4.4s %s %f",
|
||||||
|
dst_mask == ~0LU ? "MONO" :
|
||||||
spa_debug_type_find_short_name(spa_type_audio_channel, i + 3),
|
spa_debug_type_find_short_name(spa_type_audio_channel, i + 3),
|
||||||
str, sum);
|
str, sum);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue