Skip to content

Anyway to check if client is activated #115

Open
@flappix

Description

Hi,
I'm facing the problem that my jack client becomes deactivated at some point of my code even if I'm not calling client.deactivate().
When this happens i'm not able to (de)connect any ports registered by my script. I'm just getting an error message from jack_connect

> jack_connect system:capture_1 test:in
cannot connect client, already connected?
>
>jack_disconnect  system:capture_1 test:in 
cannot disconnect client, already disconnected?

I'm having a hard time to debug the script and determine the exact position in the code where this is happening. So I'm looking for any way to check if the client is still activated. I tried client.status which output <jack.Status 0x0: no flags set> regardless if the client is activated or no.
I also tried client.set_shutdown_callback (f) but its not executed when the client becomes deactivated.

Any help would be greatly appreciated :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions