the algorithm begins by being notified that the audio routing has changes 301 the algorithm next detects if the cause for the audio routing switch was due to the previous route being unavailable e g a bluetooth disconnection 302 this step could detect other actions such as the audio route becoming detected again or a variety of different causes the audio route not being available is used as an example for detecting changes in the bluetooth audio availability for a loss prevention application if the reason behind the audio routing is not of concern no action occurs 305 in this particular case if the audio routing change is not due to a bluetooth audio route source no longer being available no action shall occur if the cause for the audio route change is applicable the algorithm will then detect if the current peripheral that reported their audio routing being changed is currently tracked 303 the software is capable of tracking single or multiple audio end point peripherals the software can check if the current audio peripheral is currently being tracked by a user and can then determine if the action should be performed if it is determined that the audio peripheral is not being tracked no action is performed 305 if it is determined the audio peripheral.