Yes, standard USB ports are 5V power supply. However, if the maximum power required by the speaker is greater than the maximum power that the charger can provide, there will be sound distortion. For example, the speaker is 5W, the charger is 5V, 500mA (=2.5W), it is not enough.