Skip to content

jack_frame_time() resets to 0 after ~25 hours #1012

@artfwo

Description

@artfwo

When running a jack client (norns) for a long time, approximately after 24.8 hours at 48000 Hz, the return value of jack_frame_time() wraps to 0 and breaks the internal schedulers of the norns client.

jack_nframes_t is a 32-bit unsigned integer and at that size it overflows relatively quickly (even more so at higher sample rates).

Is it possible to increase jack_nframes_t to 64 bits or is there any other way around this limitation for the client?

Environment

  • JACK Version: 1.9.21
  • Operating System: Linux (raspbian)
  • Installation: Debian package

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions