virtual output: Add implementation for set_available_modes, connect and disconnect.