src/modules/bluetooth/module-bluez5-device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 44b8f8555fc2104a5798d261a59e1e05f5840e31
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejc...@codecoup.pl>
Date:   Mon Jun 12 17:42:26 2017 +0200

    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.

diff --git a/src/modules/bluetooth/module-bluez5-device.c 
b/src/modules/bluetooth/module-bluez5-device.c
index a96da17d..ccab10ac 100644
--- a/src/modules/bluetooth/module-bluez5-device.c
+++ b/src/modules/bluetooth/module-bluez5-device.c
@@ -1269,7 +1269,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);
     }
 }
 

_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to