As I understand it, the zero sample rate happens simply because the
variables that are queried by plugins (specifically sys_dacsr) are
initialised after the plugins are loaded.
Loading the GUI forces the audio settings to be initialised earlier so
the problem doesn't happen under 'normal'
Hiya,
I've been looking into the problem that starting pd with -nogui can
cause a lot of plugins to start with a zero sample-rate and therefore
produce no sound.
Here's my tentative patch for this. It's very small and though it could
be regarded as over-simplistic, it does fix the problem
That could be the solution, I haven't looked enough to know yet. My question
is: what is causing the sample rate to first be sent as 0? I remember that
seemed to be one of the behaviors related to this. Its probably something we
want to prevent from happening, unless someone can explain why