aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/time/time.h
blob: 3bb0614213e503953cd660cc60633ca5d29c21b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
  Copyright 2011 David Robillard <http://drobilla.net>

  Permission to use, copy, modify, and/or distribute this software for any
  purpose with or without fee is hereby granted, provided that the above
  copyright notice and this permission notice appear in all copies.

  THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

/**
   @file time.h C header for the LV2 Time extension
   <http://lv2plug.in/ns/ext/time>.
*/

#ifndef LV2_TIME_H
#define LV2_TIME_H

#ifdef __cplusplus
extern "C" {
#endif

#define LV2_TIME_URI "http://lv2plug.in/ns/ext/time"

#define LV2_TIME__Time            LV2_TIME_URI "#Time"
#define LV2_TIME__Position        LV2_TIME_URI "#Position"
#define LV2_TIME__Rate            LV2_TIME_URI "#Rate"
#define LV2_TIME__position        LV2_TIME_URI "#position"
#define LV2_TIME__barBeat         LV2_TIME_URI "#barBeat"
#define LV2_TIME__bar             LV2_TIME_URI "#bar"
#define LV2_TIME__beat            LV2_TIME_URI "#beat"
#define LV2_TIME__beatUnit        LV2_TIME_URI "#beatUnit"
#define LV2_TIME__beatsPerBar     LV2_TIME_URI "#beatsPerBar"
#define LV2_TIME__beatsPerMinute  LV2_TIME_URI "#beatsPerMinute"
#define LV2_TIME__frame           LV2_TIME_URI "#frame"
#define LV2_TIME__framesPerSecond LV2_TIME_URI "#framesPerSecond"
#define LV2_TIME__speed           LV2_TIME_URI "#speed"

#ifdef __cplusplus
}  /* extern "C" */
#endif

#endif  /* LV2_TIME_H */