Skip to content

Remove system calls from Jack callbacks #213

Description

@theozanellato

I am using libremidi for my audio application using Jack on Linux-RT. I create a Jack audio client, then pass it to libremidi as shown in the jack_share.cpp example. However performance is very poor due to the thread_lock semaphore syscalls that happen every block.

I am not sure what the best approach is for closing/unregistering the port safely. Here is a patch I am using for now to remove the syscalls.

libremidi-lock-patch.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions