Re: samplerate~ race condition?
Christof Ressi <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
Here you go: https://github.com/pure-data/pure-data/pull/2512. I've tested systematically with JACK (Linux) and Portaudio (Windows) and did't find any regressions, but it would be great if others could test as well. Christof On 11.01.2025 01:03, Christof Ressi wrote: > 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. >> >> >> --- >> [email protected] - the Pure Data mailinglist >> https://lists.iem.at/hyperkitty/list/[email protected]/message/WEPRWPGKQ5OSJOZBHGPOXAGMFDGWX4DN/ >> >> >> To unsubscribe send an email to [email protected] mailing list >> UNSUBSCRIBE and account-management -> https://lists.iem.at/ > > --- > [email protected] - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/[email protected]/message/5XPAZCYM2Y2NDQZBN2A7RZ5GL5PBUGHF/ > > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/WETIJW7GJVNQSU3YJ53Y2PV3EE2PWO3E/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/