|
CsoundUnity 4.0.0-alpha.3
|
Shared static registry of CsoundChildEntry objects for the CsoundUnityChild IAudioGenerator path. More...
Static Package Functions | |
| static int | Register (CsoundChildEntry entry) |
| Registers a child entry and returns the stable integer ID to store in CsoundChildRealtime.InstanceId and CsoundChildControl.InstanceId. | |
| static void | Unregister (int id) |
| Nulls out the slot at id so the audio thread returns silence after the child is destroyed. IDs remain stable. | |
| static CsoundChildEntry | GetEntry (int id) |
Returns the entry at id , or null if not found. | |
Shared static registry of CsoundChildEntry objects for the CsoundUnityChild IAudioGenerator path.
Mirrors the design of CsoundBridgeRegistry: each child stores only an integer ID in its unmanaged CsoundChildRealtime struct and looks up the managed entry at audio-thread time.
|
inlinestaticpackage |
Returns the entry at id , or null if not found.
|
inlinestaticpackage |
Registers a child entry and returns the stable integer ID to store in CsoundChildRealtime.InstanceId and CsoundChildControl.InstanceId.
|
inlinestaticpackage |
Nulls out the slot at id so the audio thread returns silence after the child is destroyed. IDs remain stable.