Turns out it's not as easy as I thought :/ There are some rough edge cases with the callback scheduler. I have some ideas, but I need to think them through and find an elegant solution. Stay tuned!
On 10.01.2025 14:23, Christof Ressi wrote:
however, the the really weird thing about this is actually that the samplerate passed via the preferences (and cmdline-flags) is ignored. i would expect Pd to honour those settings in the first place (defaulting to 48000), and only change it if the audio backend demands otherwise.
That's expected. If the backend has a fixed samplerate, Pd does not take the samplerate from the preferences, instead it starts with the default samplerate and then gets the actual samplerate from the backend. Makes totally sense to me.
In practice this doesn't matter because turning on DSP will immediately get the actual samplerate. (Well, after my fix :)
hecking the audio-settings, i see that Pd claims to still use JACK as the backend (though - as expected - there's no sound), even if no JACK is actually runningĀ¹.
That's weird indeed.
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/WEPRWPGKQ5...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/