summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>2017-06-12 17:42:26 +0200
committerTanu Kaskinen <tanuk@iki.fi>2017-07-10 19:49:02 +0300
commit8cf5e9211c48eb6a00671884abfe1a0a11a3ce78 (patch)
tree1e5376dfaca7af9b9c9cde53df93ca7a2399e0e7
parent65dbc609dc85adcb4aebce95d9f2689c5499a31e (diff)
downloadpulseaudio-8cf5e9211c48eb6a00671884abfe1a0a11a3ce78.tar.gz
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.
-rw-r--r--src/modules/bluetooth/module-bluez5-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c
index 7e2b0d799..12a498485 100644
--- a/src/modules/bluetooth/module-bluez5-device.c
+++ b/src/modules/bluetooth/module-bluez5-device.c
@@ -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);
}
}