Skip to content

Commit 58804cb

Browse files
committed
Remove whitepace from _jack_position
1 parent 7704b8a commit 58804cb

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

‎jack.py‎

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -234,27 +234,28 @@
234234

235235
# Packed structure
236236
_ffi.cdef("""
237-
struct _jack_position {
238-
jack_unique_t unique_1;
239-
jack_time_t usecs;
240-
jack_nframes_t frame_rate;
241-
jack_nframes_t frame;
237+
struct _jack_position
238+
{
239+
jack_unique_t unique_1;
240+
jack_time_t usecs;
241+
jack_nframes_t frame_rate;
242+
jack_nframes_t frame;
242243
jack_position_bits_t valid;
243-
int32_t bar;
244-
int32_t beat;
245-
int32_t tick;
246-
double bar_start_tick;
247-
float beats_per_bar;
248-
float beat_type;
249-
double ticks_per_beat;
250-
double beats_per_minute;
251-
double frame_time;
252-
double next_time;
253-
jack_nframes_t bbt_offset;
254-
float audio_frames_per_video_frame;
255-
jack_nframes_t video_offset;
256-
int32_t padding[7];
257-
jack_unique_t unique_2;
244+
int32_t bar;
245+
int32_t beat;
246+
int32_t tick;
247+
double bar_start_tick;
248+
float beats_per_bar;
249+
float beat_type;
250+
double ticks_per_beat;
251+
double beats_per_minute;
252+
double frame_time;
253+
double next_time;
254+
jack_nframes_t bbt_offset;
255+
float audio_frames_per_video_frame;
256+
jack_nframes_t video_offset;
257+
int32_t padding[7];
258+
jack_unique_t unique_2;
258259
};
259260
""", packed=True)
260261

0 commit comments

Comments
 (0)