title: Delphi BASS library - change audio output device during runtime
body: <p>I have a mp3 player in Delphi.
  When the player is running and I change the audio output device, say from line out (speakers) to bluetooth, the player still "sends" the sound to the line out device.
  When my bluetooth headset is connected and I start the player, everything is fine and the player "sends" the sound to the bluetooth device. But when I disconnect the bluetooth speakers/headset, the player doesn't play any song, it just skips every song as they won't be "playable".</p>
  
  <p>Is there a way to get this managed?
  Every other player, VLC, Winamp, Windows Media Player, are able to handle the change of the output device "on the fly".</p>
  
  <p>For the player I use Delphi XE, but I think this isn't relevant to the problem as itself.
  At the time I use BASS library 2.4.11</p>
  
  <p>Thanks for your answers in advance!
  MPage</p>