Age | Commit message (Collapse) | Author | Files | Lines |
|
This was problematic because using fdopen() conflicts with poll(). If the FILE
ends up reading more than is actually processed by serd, then poll will not
fire because the socket file descriptor has been fully read, even though there
is pending input in the FILE object (which is buffered).
Avoid this by using a custom read function and calling recv() directly. In
retrospect, this was stupid, but it seemed convenient to be able to use the
handy built-in support for reading from a FILE in serd.
Now, the client and server are using send() and recv() directly on the socket,
as things should be. I am not sure if MSG_WAITALL is the best idea here, or if
it's really important at all, but it seems like a good idea.
|
|
|
|
This changes control port buffers to always be sequences of float, splitting
cycles internally so nodes with control ports act as if they support sample
accurate control input and output. This allows things like having networks of
control ports manipulated by the user which are run into CV ports and having
sample accurate changes end up in the CV ports even though the values were
calculated by plugins with single float ports.
Further work is probably necessary to thin and smooth changes that come from a
user drag (perhaps there should be a mode for this?) to keep the amount of
cycle splitting reasonable, and support for plugins with fixed block length.
|
|
|
|
|
|
|
|
This needs a more sophisticated fix, since splitting cycles on every
CV value change isn't feasible much/most of the timel
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5483 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5400 a436a847-0d15-0410-975c-d299462d15a1
|
|
in two cycles of the same partially set buffer (fix #873).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4901 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4874 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4833 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4726 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4475 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4301 a436a847-0d15-0410-975c-d299462d15a1
|
|
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4052 a436a847-0d15-0410-975c-d299462d15a1
|
|
Use new style LV2 URI defines (and fix invalid atom URIs).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4050 a436a847-0d15-0410-975c-d299462d15a1
|