I am assuming here that both the devices are paired. You can confirm that by going to Settings > Devices > Bluetooth. You can then follow the tips mentioned below if the Bluetooth speaker is connected ...
A step-by-step guide to using the DualShock 4 on PC via Bluetooth.