Owen Green
012ce483c5
NRT Wrapper: signal completion via cache
...
for (hopefully) greater reliability
5 years ago
Owen Green
360155f4c4
Try and fix thread callback double-free crash by going via RT message queue
5 years ago
Owen Green
54cda6c78b
SCBufferAdaptor Fix double free by not calling cleanup() in destructor
...
plus some tidying up
5 years ago
Owen Green
fb17a08e24
Don't free memory twice
5 years ago
Owen Green
9eb2a44a69
Use (hacky) NRT SendReply for responses
...
This solves problems wih behaviour w/r/t server sync
5 years ago
Owen Green
4654d77707
Messages shouldn't send done until after completion messages have fired
5 years ago
Owen Green
010ecf557e
Wrapper: try to avoid crash if server is shut(ting) down when thread returns
5 years ago
Owen Green
0931042aff
Mop up some warnings
5 years ago
Owen Green
0b33b1ecaf
Refactor SC wrapper
...
Split into distinct files
Use Async commands for NRT processing (again)
5 years ago
Owen Green
a83c316d22
Refactor lambda to avoid hobson's choice between warnings on clang or errors on MSVC
5 years ago
Owen Green
66c888f77c
Print warnings properly
5 years ago
Owen Green
6ebfa6db61
Avoid trying to read into objects before their constructor has run
5 years ago
Owen Green
78d8f7577e
Refresh params before message invoke
5 years ago
Gerard
04f0db5267
revert to 89886c1
5 years ago
Pierre Alexandre Tremblay
6d69b0f291
Revert "Fix RT triggering"
...
This reverts commit 89886c143f .
5 years ago
Owen Green
89886c143f
Fix RT triggering
5 years ago
Owen Green
5af45397c7
Reduce overhead by making parameter updates conditional for RT model objects, using pointers for constraint results
5 years ago
Owen Green
77ab8cb91a
Undo dunce boy move
5 years ago
Owen Green
e1c8fe7d98
Reduce contention to try and fix #67
5 years ago
Owen Green
d060839475
Fix instability in batch processing: todo revert to SC memory pool and tidy up
5 years ago
Owen Green
323deaa063
Update params in poll() for benefit of NRT data objects that don't trigger
6 years ago
Owen Green
5dff5ea28e
Update real time control array size to account for model objects
6 years ago
Owen Green
1d6fd8f1b0
Merge branch 'clients/inter_client_comms' into feature/rt-queries
6 years ago
Owen Green
f480d476b2
Correct reading of UID from controls for ModelObjects, resolves #62
6 years ago
Owen Green
2b71644d7b
Refresh parameters before message invocation
6 years ago
Owen Green
b2a295d8b3
Add support for LongArrayT params
6 years ago
Owen Green
b687b5649d
Add KMeansClient RT support
6 years ago
Owen Green
eb6aeb0304
Also capture report
6 years ago
Owen Green
a3ee1868f1
Supply missing lambda capture, because MSVC was sad
6 years ago
Owen Green
441d1d0cf9
Things that haven't run, can't be cancelled. Hope this fixes #58
6 years ago
Owen Green
716d60912e
Recover cancelled notification resolves #58
6 years ago
Owen Green
5eecb02ab8
Update NRT params on retrigger
6 years ago
Owen Green
5bd0832981
Restore FluidDataWr C++ atfer overzealous revert
6 years ago
Owen Green
7a1bdc5a02
Revert changes to Corpus Builders and help files now that we have bypass in FluidDataWr
6 years ago
Owen Green
f93b2562cb
Add bypass for numerical index to FluidDataSetWr, update help
6 years ago
Owen Green
1a01e76001
Guard against scsynth triggering u_cmd before constructor called
6 years ago
Owen Green
cffcd889dd
Remove debug detritus
6 years ago
Owen Green
7d6d169de3
Changes to FluidDataSetWr to take separate string prefix and integer counter for label making
6 years ago
Owen Green
ce22e867db
Mend clean up for Shared Clients
6 years ago
Owen Green
7dc44c738e
Don't try and send message responses > 8kb
6 years ago
Owen Green
253339aac2
Harden message dispatch against cmd+. by using more safely shared state
6 years ago
Owen Green
e5798aaa35
Harden cross thread code, and fix retriggering / busy check.
...
By actually looking at the result.
6 years ago
Owen Green
48dc167c1b
Toughen NRT processing by decoupling ownership of shared state from synth Node
6 years ago
Owen Green
b7c6c9e09c
Add FluidDataSetWr
6 years ago
Owen Green
73530260b5
Toughen checks for job status now that start time is decoupled from construction
...
More toughening of threads vs triggers
6 years ago
Owen Green
23785e88be
Constrain params before constructing clients
6 years ago
Owen Green
1cbe5d0187
Error message spacing
6 years ago
Owen Green
32ac90c28d
Bring wrapper into line with upstream
6 years ago
Owen Green
00b2b5f8d5
Better argument validation for RT inputs
6 years ago
Owen Green
d6776226be
Add triggering to NRT processors, remove doneAction
6 years ago
Owen Green
6305274d52
Quietly remove a thing I didn't realised I'd committed
...
It's probably good, if doing experimental changes that break everytihng,
not to commit and push them to the main branch
6 years ago
Owen Green
4c2d96f244
Wrapper: make sure world is available if we're going to use it
6 years ago
Owen Green
c6540c051e
Merge branch 'clients/inter_client_comms' into features/sc-object-persist
6 years ago
Owen Green
ee666fe7cf
All frames as 2D view from Buffer
6 years ago
Owen Green
d73a82d069
Fix memory leak, and NRT housekeeping
6 years ago
Owen Green
b283494cae
Ensure that all results from synchronous jobs get passed on correctly
6 years ago
Owen Green
3777057995
decouple freeing shared and model objects from the synth with PlugInCmd
...
This should give much stronger guarantees that the server and client
agree about what exists. It would be neat if the server could delete its
own node as well, but I haven't worked out how to do this yet
6 years ago
Owen Green
1eabc42b24
Amend wrapper creation to fetch client and params from different places
...
This is to enable persistent storage for certain client typee
6 years ago
Owen Green
40691d4217
Tidy up properly
6 years ago
Owen Green
058605a78a
Readability
6 years ago
Owen Green
4984e06772
Fix a potential memory leak
6 years ago
Owen Green
561cf0faf0
Add persistence mechanism for shared clients
6 years ago
Owen Green
a46643d46a
Update remaining fromArgs for LocalBuf stuff
6 years ago
Owen Green
3109a51842
Add LocalBuf awareness
6 years ago
Owen Green
9c8b9c0dc5
Merge branch 'master' into clients/inter_client_comms
6 years ago
Owen Green
8844be07b1
Send server response even when message fails, resolves #50
6 years ago
Owen Green
717457d8bb
Report unallocated buffers as non-existent and invalid
6 years ago
Owen Green
fd13fff2de
Add strict argument count and type checking to messages, to avoid server crashes.
6 years ago
Owen Green
41c4fda0f5
(hopefully) Temporary fix for incompatibility between master / tb2 parameter counting
6 years ago
Owen Green
7159392a9b
Integer conversion for new stuff, formatting
6 years ago
Owen Green
683bb66791
Delete implicitly deleted operator
6 years ago
Owen Green
47f3f23823
Delete implicitly deleted operator
6 years ago
Owen Green
c72e04a8c6
Make it compile post-merge
6 years ago
Owen Green
c84a81a3bf
Merge branch 'master' into clients/inter_client_comms
6 years ago
Owen Green
8a8dd1eeb0
SC windows seems to prefer std::endl to guarantee printing to console
6 years ago
Owen Green
ac7fc5b29c
Formatting
6 years ago
Owen Green
5bc6cd400b
Delete implicitly deleted default constructor in SCBuffer
6 years ago
Owen Green
9e97518316
sign conversion warning
6 years ago
Owen Green
9677ad83f6
Add header text to source files
6 years ago
Owen Green
ff04cc737f
Add version message to all plugins (classes later)
6 years ago
Owen Green
c6dd99ec81
signed indices in SC wrapper
6 years ago
Owen Green
3bd79fffb1
AudioTransport: Use specialIndex to deal with multiple audio ins, make sure wrapper notes this in the right places
6 years ago
Owen Green
b1f42c943e
Merge commit '7188049266b11db5cf7791c6e84c2ff88f005272' into clients/inter_client_comms
...
# Conflicts:
# include/FluidSCWrapper.hpp
6 years ago
Owen Green
0d99d71246
Messages that have side effects on buffers need to make sure they do the nrt->rt buffer swap thing
6 years ago
Owen Green
ce22c56624
SC Wrapper: always send done for any flavour of cancellation
6 years ago
Owen Green
f1fba9b318
Merge branch 'threading/blocking-switch' into nrt-threading
...
# Conflicts:
# release-packaging/Classes/FluidNRTProcess.sc
6 years ago
Owen Green
e7bc8c60dc
SC Wrapper: Send a /done message (before the doneAction) to let clients complete more quickly
6 years ago
Owen Green
bfb943fb97
include/FluidSCWrapper.hpp: When cancellation happens by freeing the synth, it would still be nice to get the informational message
6 years ago
Owen Green
540d65a07b
Add option for NRT clients to execute directly in command FIFO.
6 years ago
Owen Green
3f89afac0b
SC Wrapper NRT: Ensure UGen emits 1.0 when it is done resolves #35
6 years ago
Owen Green
7b9c50ee62
SC Wrapper: ensure NRT UGen done isn't set unless job has completed sucessfully and without cancellation. resolves #34
6 years ago
Owen Green
05f7c044b0
Stop horrible race condition by ensuring that only one thread-checking aync command is ever in progress
6 years ago
Owen Green
fad43f18b2
wrapper: tidying
6 years ago
Owen Green
b0b2c7d3b3
Belated commit of threading updates for SC
6 years ago
Owen Green
b2a4f32264
SC Wrapper: Handling for heterogenous return types from messages
6 years ago
Owen Green
04a4ea890a
SC Wrapper: handling for shared client types from incoming string
6 years ago
Owen Green
74e6a25688
SC Wrapper: To deal with incoming strings (whose size we don't know in advance), we have to change how we deal with unexpected numbers of incoming parameters. Now we just warn, and use defaults in the case of a short fall.
6 years ago
Owen Green
70c8cfebda
SC Wrapper: incoming / outgoing data – deal more liberally with int / fp types (for message returns); deal with goddam strings
6 years ago
Owen Green
111d00fc4c
SC Wrapper rougue include
6 years ago
Owen Green
d70a23f745
FluidSCWrapper: Clients no longer templates; find RT/NRT info in ClientWrapper
6 years ago