Skip to content

jack_capture stops recording instantly when started remotely or on boot  #40

@francis669

Description

@francis669

hello! im hoping that someone could shed some light on this cause i cant find any info around, jack_capture works well when i start it from the command line, however - i have a python script that reads a GPIO button and trigger jack capture, this also works fine when started from command line but when automated on boot it starts to record and stops immediately,
i also tried to trigger the command from pure data using "shell" and got the same behaviour. i wonder if anyone knows what im doing wrong? here is the output:

`main() find default file format
main() find filename
main() init jack 1
buf_size_in_bytes: 4104
main() init buffers
bufinit1. sizeof(long): 4, sizeof(float): 4, sizeof(double):8, sizeof(int):4, sizeof(void*):4
main() Open soundfile and setup disk callback.
main() Init waiting.
main() Init jack 2.
main() Everything initialized.
main() Start meterbridge.
main() Print some info.

Recording to "jack_capture_53.wav". Press or to stop.
main() Start helper thread.
main() Wait.
STDOUT: >>> Please wait while writing all data to disk. (shouldn't take long)
STDOUT: |"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""|
STDOUT:
STDOUT: 00:|---------* |
STDOUT: Buffer: 4.01s./4.01s Time: 0.00m. DHP: [ ] Overruns: 0 Xruns: 0
main() Stop recording and clean up.
connection thread finished
STDOUT: 00:|---------* |
STDOUT: Buffer: 4.01s./4.01s Time: 0.00m. DHP: [ ] Overruns: 0 Xruns: 0
Finished.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions