Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
void | writeAsync (MemoryBlock data, AsyncTransferCompledCallback callback, int timeoutInMs) |
int | write (MemoryBlock data, int timeoutInMs) |
A pipe that can be used to write data.
void writeAsync | ( | MemoryBlock | data, |
AsyncTransferCompledCallback | callback, | ||
int | timeoutInMs | ||
) |
Requests to write some data to this pipe in an asynchronous way (the caller is not blocked). Once some data has been written the callback will be notified on the controller's thread.
data | A MemoryBlock containing the data to be written. |
callback | A callback that is notified on the controller's thread when the write has completed. |
timeoutInMs | A timeout in milliseconds that will result in an error and termination of the controller if the write does not happen in this time. For infinite timeout use 0. |