Pitch changes as soon as I connect Bluetooth earphones to my device

Whenever I switch between devices ( mobile and laptop) using my Bluetooth earphones, pitch of the sound changes, Also I have faced this issue while reconnecting to my device after an initial connection ended. Initially I faced this issue in fedora kde spin but now I also face this issue in official fedora release.