bluez5-device: Log subband count instead of subband flag

As log information says, SBC log info have to have one of two subband count
values: 4 or 8, instead of subband flag.
This commit is contained in:
Grzegorz Kolodziejczyk 2017-06-12 17:42:26 +02:00 committed by Tanu Kaskinen
parent 65dbc609dc
commit 8cf5e9211c

View file

@ -1318,7 +1318,7 @@ static void transport_config(struct userdata *u) {
sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc);
pa_log_info("SBC parameters: allocation=%u, subbands=%u, blocks=%u, bitpool=%u",
sbc_info->sbc.allocation, sbc_info->sbc.subbands, sbc_info->sbc.blocks, sbc_info->sbc.bitpool);
sbc_info->sbc.allocation, sbc_info->sbc.subbands ? 8 : 4, sbc_info->sbc.blocks, sbc_info->sbc.bitpool);
}
}