2 # SPDX-FileCopyrightText: 2011-2024 Filipe Coelho <falktx@falktx.com>
3 # SPDX-License-Identifier: GPL-2.0-or-later
5 # ----------------------------------------------------------------------------------------------------------------------
6 # Imports (Custom Stuff)
8 from carla_host import *
10 # ----------------------------------------------------------------------------------------------------------------------
13 if __name__ == '__main__':
16 # ------------------------------------------------------------------------------------------------------------------
19 initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)
21 # ------------------------------------------------------------------------------------------------------------------
24 app = CarlaApplication("Carla2-Multi-Client", libPrefix)
26 # ------------------------------------------------------------------------------------------------------------------
27 # Set-up custom signal handling
31 # ------------------------------------------------------------------------------------------------------------------
34 os.environ["CARLA_NSM_NAME"] = "Carla-Multi-Client"
36 host = initHost(initName, libPrefix, False, False, True)
37 host.audioDriverForced = "JACK"
38 host.processMode = ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS
39 host.processModeForced = True
40 host.transportMode = ENGINE_TRANSPORT_MODE_JACK
41 loadHostSettings(host)
43 # ------------------------------------------------------------------------------------------------------------------
46 gui = HostWindow(host, True)
48 # ------------------------------------------------------------------------------------------------------------------
53 # ------------------------------------------------------------------------------------------------------------------