- Edited
this is really an information post .
.. as i don't have time to investigate at the moment due to an impending release
so what Ive noticed is,
if you turn off the dsp processing on pd, and then reactivate it, things go bad
- the main audio might not sound after reactivation
- the analog cv in might not behave
- it sometimes will segv in the main bela_audio thread
what was pretty frustrating, is the inconsistency sometimes it would appear to work,
it 'seemed' to be ok, when buffer size was 16, and crash reliably with 128.
unfortunately its in a pretty complex project, and as I said I don't have time to test to see if its reproducible in a test project at the moment.
basically, what Im doing is disabling with
[; pd dsp 0] , then a bit later enabling with [; pd dsp 1]
Im doing this in an external , but i suspect this is irrelevant.
also Ive got the same thing running on 3 other platforms, and this doesn't cause an issue.
that said, none are using libpd... so the issue might be in the bela pd renderer, or it might be libpd, so some interaction between the two...
for now Im working around on bela/salt by disabling this 'feature' , and all appears ok.
I'll probably follow up after release, as its pretty useful to be able to turn the dsp off, to avoid audio glitches.
Cheers
Mark