aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-01 02:01:38 +0000
committerDavid Robillard <d@drobilla.net>2011-11-01 02:01:38 +0000
commitb720a45fae08e27a61befba00bd626a2e662bdfb (patch)
tree5f4a47f9f4a49270310a34dd76211bdc0f8dcd3a /ext
parentbe38e1c54759d71613ede46f2a2f45d34da9cdad (diff)
downloadlv2-b720a45fae08e27a61befba00bd626a2e662bdfb.tar.xz
Remove state flags not currently supported by extension.
Use generic "flags" rather than a "valid" field, in case other properties of an LV2_Time_Position might be useful in the future (e.g. whether or not this is a change, whether or not this applies immediately (slow sync?), etc).
Diffstat (limited to 'ext')
-rw-r--r--ext/time.lv2/time.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/ext/time.lv2/time.h b/ext/time.lv2/time.h
index 4ad844e..fac6b41 100644
--- a/ext/time.lv2/time.h
+++ b/ext/time.lv2/time.h
@@ -32,18 +32,16 @@ extern "C" {
Time states.
*/
typedef enum {
- LV2_TIME_STOPPED = 0, /**< Time halted */
- LV2_TIME_ROLLING = 1, /**< Time playing */
- LV2_TIME_LOOPING = 2, /**< For OLD_TIME, now ignored */
- LV2_TIME_STARTING = 3 /**< Waiting for sync ready */
+ LV2_TIME_STOPPED = 0, /**< Transport halted */
+ LV2_TIME_ROLLING = 1, /**< Transport playing */
} LV2_Time_State;
/**
- Bits indicating which fields of LV2_Time_Position are valid.
+ Bits indicating properties of an LV2_Time_Position.
*/
typedef enum {
- LV2_TIME_BBT = 1 /**< Bar, Beat, Tick */
-} LV2_Time_Fields;
+ LV2_TIME_HAS_BBT = 1 /**< Has Bar, Beat, Tick */
+} LV2_Time_Flags;
/**
Description of a position and/or tempo.
@@ -63,10 +61,10 @@ typedef struct {
uint64_t frame;
/**
- Bit field of LV2_Time_Fields values indicating which fields
+ Bit field of LV2_Time_Flags values indicating which fields
of this struct are valid.
*/
- uint32_t valid;
+ uint32_t flags;
/**
@}