kaivehmanen / ecasound

multitrack-capable audio recorder and effect processor
http://nosignal.fi/ecasound
Other
44 stars 5 forks source link

ECI timeout issue.... #5

Open flbstudio opened 7 months ago

flbstudio commented 7 months ago

I am devlopping c++ front ends for ecasound ecarack ecadaw ecanodes . I use the ECI command map-XXX-list to load all available ctrl cop presets lv2 and ladspa in a custom map struct list. The mapper is working with no problem at all when a limited number of plugins are installed. I experience time out when the amout of plugins excide a certain number using the ECI. When using ecasound -c and map-lv2-list it works, but take way to much time. Here is the terminal output when lauching ecadaw using ECI --> ./ecadaw

(ecasoundc_sa) Error='read() error', cmd='map-ladspa-list' last_error='' cmd_cnt=6 last_cnt=5.


(ecasoundc_sa) Error='sync error', cmd='map-lv2-list' last_error='' cmd_cnt=7 last_cnt=5.

(ecasoundc_sa) Error='read() error', cmd='map-lv2-list' last_error='' cmd_cnt=7 last_cnt=5.

Is there a way to increase time limit for ECI respond for these command using ECI ?

marclava commented 1 month ago

In libecasoundc/ecasoundc_sa.c :

define ECI_READ_TIMEOUT_MS 15000

define ECI_READ_RETVAL_TIMEOUT_MS 30000

flbstudio commented 1 month ago

Thank you for the quick reply, but I was looking for a different solution. This solution required a recompilation, since the application I am developing need to work out of the box from standard distributions. I don't want to force user to recompile in order to use my frontend app.

Le sam. 21 sept. 2024 à 12:12, Marc Lavallée @.***> a écrit :

In libecasoundc/ecasoundc_sa.c :

define ECI_READ_TIMEOUT_MS 15000

define ECI_READ_RETVAL_TIMEOUT_MS 30000

— Reply to this email directly, view it on GitHub https://github.com/kaivehmanen/ecasound/issues/5#issuecomment-2365239677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2I2ZAO7O7XS3KVCTCEDC3ZXWLH3AVCNFSM6AAAAABE3ZXZDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGIZTSNRXG4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Félix Le Blanc FLB STUDIO 2K5 (438) 491-0226

marclava commented 1 month ago

Suggestion: compile ecasound static libraries and link them to your custom C++ application.