From 0644f9908136ff874be9582fa3f622d0e6844bfa Mon Sep 17 00:00:00 2001 From: cu Date: Sun, 26 Jul 2020 11:48:44 +0900 Subject: [PATCH] Update TimePosition struct documentation --- distrho/DistrhoPlugin.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/distrho/DistrhoPlugin.hpp b/distrho/DistrhoPlugin.hpp index 1ce33f41..0105b670 100644 --- a/distrho/DistrhoPlugin.hpp +++ b/distrho/DistrhoPlugin.hpp @@ -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;