 			return
 		}
 
-		try? player.setOutputDevice(device)
+		try? player.setOutputDeviceID(device.objectID)
 	}
 
 	// MARK: - Player Control

			}
		}

		if let uid = UserDefaults.standard.object(forKey: "deviceUID") as? String, let device = try? AudioDevice.makeDevice(forUID: uid) {
			try? player.setOutputDevice(device)
		}

		updateDeviceMenu()

					continue
				}

				let isActiveDevice = outputDevice.objectID == currentOutputDeviceID
				let deviceMenuItem = NSMenuItem(title: try outputDevice.name(), action: #selector(PlayerWindowController.selectDevice(_:)), keyEquivalent: "")
				deviceMenuItem.target = self
				deviceMenuItem.representedObject = outputDevice
