Browse Source

Update TimePosition struct documentation

pull/218/head
cu 5 years ago
parent
commit
0644f99081
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      distrho/DistrhoPlugin.hpp

+ 4
- 2
distrho/DistrhoPlugin.hpp View File

@@ -528,7 +528,8 @@ struct MidiEvent {
The @a playing and @a frame values are always valid.@n
BBT values are only valid when @a bbt.valid is true.

This struct is inspired by the JACK Transport API.
This struct is inspired by the JACK Transport API.@n
- [JACK-AUDIO-CONNECTION-KIT: jack_position_t Struct Reference](https://jackaudio.org/api/structjack__position__t.html)
*/
struct TimePosition {
/**
@@ -568,7 +569,8 @@ struct TimePosition {
/**
Current tick within beat.@n
Should always be >= 0 and < @a ticksPerBeat.@n
The first tick is tick '0'.
The first tick is tick '0'.@n
The value indicates the closest tick from the start of current audio buffer.
*/
int32_t tick;



Loading…
Cancel
Save