diff options
author | joq <joq@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2004-10-26 16:08:52 +0000 |
---|---|---|
committer | joq <joq@0c269be4-1314-0410-8aa9-9f06e86f4224> | 2004-10-26 16:08:52 +0000 |
commit | 8271b8c3f337f75e67a96b6f3c7c7611fc76d1b5 (patch) | |
tree | bd656dc60b2f8be394db328c2eeac3994ad3cea4 /example-clients | |
parent | 0575b2202d9ef746e2fcc2c5e8e5275958af30aa (diff) | |
download | jack1-8271b8c3f337f75e67a96b6f3c7c7611fc76d1b5.tar.gz |
[0.99.9] reconcile beat_type with ardour
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@780 0c269be4-1314-0410-8aa9-9f06e86f4224
Diffstat (limited to 'example-clients')
-rw-r--r-- | example-clients/intime.c | 3 | ||||
-rw-r--r-- | example-clients/transport.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/example-clients/intime.c b/example-clients/intime.c index da9f91d..2a43337 100644 --- a/example-clients/intime.c +++ b/example-clients/intime.c @@ -30,7 +30,7 @@ * signature is "march time": 4/4, 120bpm */ float time_beats_per_bar = 4.0; -float time_beat_type = 1.0 / 4.0; +float time_beat_type = 4.0; double time_ticks_per_beat = 1920.0; double time_beats_per_minute = 120.0; @@ -133,7 +133,6 @@ jack_initialize (jack_client_t *client, const char *arg) fprintf (stderr, "counting %.1f/%.1f at %.2f bpm\n", time_beats_per_bar, time_beat_type, time_beats_per_minute); - time_beat_type = 1.0 / time_beat_type; } else { int len = strlen(arg); if ((len > 0) && (strncmp(arg, "timecode", len) == 0)) diff --git a/example-clients/transport.c b/example-clients/transport.c index 3d33e16..20c07cd 100644 --- a/example-clients/transport.c +++ b/example-clients/transport.c @@ -38,7 +38,7 @@ jack_client_t *client; * The default time signature is: "march time", 4/4, 120bpm */ float time_beats_per_bar = 4.0; -float time_beat_type = 0.25; +float time_beat_type = 4.0; double time_ticks_per_beat = 1920.0; double time_beats_per_minute = 120.0; volatile int time_reset = 1; /* true when time values change */ |