Skip to content

Commit

Permalink
ServerSHM flexibility / __setitem__ (#407)
Browse files Browse the repository at this point in the history
* ServerSHM.__getitem__() accepts Bus / BusGroup

* Implement ServerSHM.__setitem__()

* Fixup tests etc.
  • Loading branch information
josephine-wolf-oberholtzer authored Nov 8, 2024
1 parent 20b781a commit af985ab
Show file tree
Hide file tree
Showing 6 changed files with 2,675 additions and 848 deletions.
2 changes: 1 addition & 1 deletion supriya/contexts/realtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _setup_osc_callbacks(self, osc_protocol: OscProtocol) -> None:

def _setup_shm(self) -> None:
try:
from ..realtime.shm import ServerSHM
from .shm import ServerSHM

self._shm = ServerSHM(
self._options.port, self._options.control_bus_channel_count
Expand Down
Loading

0 comments on commit af985ab

Please sign in to comment.