Browse Source

+ updated t_jack.h2paschk with the new ringbuffer structures

Nikolay Nikolov 6 months ago
parent
commit
decb6ab3c6
1 changed files with 14 additions and 1 deletions
  1. 14 1
      packages/libjack/src/t_jack.h2paschk

+ 14 - 1
packages/libjack/src/t_jack.h2paschk

@@ -7,10 +7,11 @@
 # the Pascal program produces the same output as the C program for each
 # the Pascal program produces the same output as the C program for each
 # supported architecture.
 # supported architecture.
 
 
-@Pascal uses jack;
+@Pascal uses jack, jackringbuffer;
 @Pascal begin
 @Pascal begin
 
 
 @C #include <jack/jack.h>
 @C #include <jack/jack.h>
+@C #include <jack/ringbuffer.h>
 @C #include <stdio.h>
 @C #include <stdio.h>
 @C #include <stddef.h>
 @C #include <stddef.h>
 @C int main()
 @C int main()
@@ -109,6 +110,18 @@
 .ticks_per_beat
 .ticks_per_beat
 .beats_per_minute
 .beats_per_minute
 
 
+@record jack_ringbuffer_data_t
+.buf
+.len
+
+@record jack_ringbuffer_t
+.buf
+.write_ptr
+.read_ptr
+.size
+.size_mask
+.mlocked
+
 @C   return 0;
 @C   return 0;
 @C }
 @C }