It sounds like the definition of an audio device "connecting" is a little too broad in this case, so understandably annoying.
There is a simple workaround that should work for you though: 1. mkdir ~/.config/pulse 2. cp /etc/pulse/default.pa ~/.config/pulse/default.pa 3. Edit ~/.config/pulse/default.pa and remove this: ### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794) .ifexists module-switch-on-connect.so load-module module-switch-on-connect .endif 4. If that didn't work then try removing: ### Should be after module-*-restore but before module-*-detect load-module module-switch-on-port-available ** Changed in: pulseaudio (Ubuntu) Importance: Undecided => Medium ** Changed in: pulseaudio (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pulseaudio in Ubuntu. https://bugs.launchpad.net/bugs/1733143 Title: Network sound devices are always set as default Status in pulseaudio package in Ubuntu: Triaged Bug description: I notice that when I connect to a wireless network with an Apple TV, the network device is set as the default audio device. This happens even if I have manually set it otherwise. STEPS TO REPRODUCE: 1. Connect to network with an Apple TV. 2. PulseAudio picks up the Apple TV device and sets it as default. 3. Manually set the built-in audio card as default. 4. Disconnect from the audio network, and reconnect. 5. PulseAudio again sets the Apple TV device as default. EXPECTED BEHAVIOR: Step 2 is debatable, but step 5 definitely should not happen. This is on Kubuntu 17.04 with pulseaudio 1:10.0-1ubuntu2 and plasma-pa 4:5.9.5-0ubuntu0.1. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1733143/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp