public interface MetroEventInFrames extends MetroEventProcess
Modifier and Type | Method and Description |
---|---|
int |
getBarOffsetInFrames() |
boolean |
isBetweenInFrames(int from,
int to)
Check if the position of this event is inside the duration specified in the
parameter.
|
void |
prepareBarOffsetInFrames(int barLengthInFrames) |
void |
setBarOffsetInFrames(int barOffsetInFrames) |
process
boolean isBetweenInFrames(int from, int to)
MetroTrack.progressCursor(int, List)
for further
information.
This methods is called as a callback of JACKAudio processing; this method
should return as soon as possible. The heavy processing that blocks for
longer time than the current setting of JACK's frame rate causes JACK to
XRUN.from
- Specifies the beginning point of the duration to check. The value
is inclusive.to
- Specifies the end point of the duration to check. The value is
exclusive.true
if this event is inside the duration.void prepareBarOffsetInFrames(int barLengthInFrames)
int getBarOffsetInFrames()
void setBarOffsetInFrames(int barOffsetInFrames)