Bitwig Studio Control Surface API  5.0.11
OutputPipe Interface Reference
+ Inheritance diagram for OutputPipe:

Public Member Functions

void writeAsync (MemoryBlock data, AsyncTransferCompledCallback callback, int timeoutInMs)
 
int write (MemoryBlock data, int timeoutInMs)
 

Detailed Description

A pipe that can be used to write data.

Since
API version 7

Member Function Documentation

◆ writeAsync()

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.

Parameters
dataA MemoryBlock containing the data to be written.
callbackA callback that is notified on the controller's thread when the write has completed.
timeoutInMsA 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.

The documentation for this interface was generated from the following file: