simple-carla 1.3.0__tar.gz → 1.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: simple_carla
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: An easy-to-use, object-oriented interface to the carla plugin host.
5
5
  Author-email: Leon Dionne <ldionne@dridesign.sh.cn>
6
6
  Description-Content-Type: text/markdown
7
7
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
8
+ License-File: LICENSE
8
9
  Requires-Dist: numpy
9
10
  Requires-Dist: log_soso
10
11
  Requires-Dist: PyQt5
@@ -18,7 +18,7 @@ build-backend = "flit_core.buildapi"
18
18
  sc-plugin-def = "simple_carla.scripts.sc_plugin_def:main"
19
19
 
20
20
  [bumpver]
21
- current_version = "1.3.0"
21
+ current_version = "1.3.1"
22
22
  version_pattern = "MAJOR.MINOR.PATCH"
23
23
  commit_message = "Bump version {old_version} -> {new_version}"
24
24
  commit = true
@@ -22,7 +22,7 @@ An easy-to-use, object-oriented interface to the carla plugin host.
22
22
  """
23
23
  import os, sys, threading, time, logging, traceback
24
24
  from ctypes import byref, cast, c_char_p, c_void_p, POINTER
25
- from functools import wraps, cache
25
+ from functools import wraps
26
26
  from struct import pack
27
27
  from numpy import zeros as np_zeros
28
28
  from log_soso import StreamToLogger
@@ -234,7 +234,7 @@ from carla_backend import (
234
234
  )
235
235
 
236
236
 
237
- __version__ = "1.3.0"
237
+ __version__ = "1.3.1"
238
238
 
239
239
 
240
240
  # -------------------------------------------------------------------
@@ -698,6 +698,8 @@ class _SimpleCarla(CarlaHostDLL):
698
698
  """
699
699
  Remove all plugins.
700
700
  """
701
+ for plugin in self._plugin_by_uuid.values():
702
+ plugin.removing_from_carla = True
701
703
  return bool(self.lib.carla_remove_all_plugins(self.handle))
702
704
 
703
705
  @polite_function
@@ -2891,7 +2893,7 @@ class Plugin(PatchbayClient):
2891
2893
  self.parameters[int(key)].value = value
2892
2894
 
2893
2895
  # -------------------------------------------------------------------
2894
- # Misc functions
2896
+ # Port parameter counts
2895
2897
 
2896
2898
  @property
2897
2899
  def audio_in_count(self):
@@ -3227,7 +3229,7 @@ class Plugin(PatchbayClient):
3227
3229
  self._ctrl_channel = value
3228
3230
 
3229
3231
  # -------------------------------------------------------------------
3230
- # Functions called from GUI
3232
+ # Functions called from outside
3231
3233
 
3232
3234
  def mute(self):
3233
3235
  """
File without changes
File without changes
File without changes