summaryrefslogtreecommitdiff
path: root/examples/live/src/Lang.zig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/live/src/Lang.zig')
-rw-r--r--examples/live/src/Lang.zig6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/live/src/Lang.zig b/examples/live/src/Lang.zig
index 4f3c3bf..484de54 100644
--- a/examples/live/src/Lang.zig
+++ b/examples/live/src/Lang.zig
@@ -484,10 +484,12 @@ pub const Synth = extern struct {
/// Samples in the block.
count: u32,
fade: u32,
- /// The block's first sample, seconds.
+ /// The block's first sample, seconds; the old tape's, which differs
+ /// after a jump (a seek: the old tape where the device was).
start: f32,
+ old_start: f32,
rate: f32,
- pad: [2]f32 = .{ 0, 0 },
+ pad: f32 = 0,
pub const glsl = .{ .uniform = .{ .set = 2, .instance = "u" } };
};