Re: [PD-dev] Tentative fix for the -nogui no-sound problem

2012-04-14 Thread Chrissie Caulfield
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'

[PD-dev] Tentative fix for the -nogui no-sound problem

2012-04-13 Thread Chrissie Caulfield
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

Re: [PD-dev] Tentative fix for the -nogui no-sound problem

2012-04-13 Thread Hans-Christoph Steiner
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