Implemented audio device detection