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

Public Member Functions

void playbackStateChanged (int slotIndex, int playbackState, boolean isQueued)
 

Member Function Documentation

◆ playbackStateChanged()

void playbackStateChanged ( int  slotIndex,
int  playbackState,
boolean  isQueued 
)

Registers an observer that reports the playback state of clips / slots. The reported states include stopped, playing, recording, but also queued for stop, queued for playback, queued for recording.

Parameters
callbacka callback function that receives three parameters: 1. the slot index (integer), 2. the queued or playback state: 0 when stopped, 1 when playing, or 2 when recording, and 3. a boolean parameter indicating if the second argument is referring to the queued state (true) or the actual playback state (false)
Since
API version 1

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