Dsp. Changes

Discussion about the Bidule SDK, post your questions, feature request and plugins here.

Moderators: davidv, seb@plogue

Posts: 1548
Joined: Thu Jan 15, 2009 1:18 pm

Dsp. Changes

Postby dts350z » Sun Dec 26, 2010 12:58 pm

Where is the best place to call initialization code that needs to run anytime the sample rate changes?

This is not just using the sample rate in the event loop but parsing cd cue file index times into lengths of tracks in samples.

The same code also needs to run when a cue file is pasted in to a text box, so I figure I can call it when that happens but where do I call it from to catch sample rate changes in the user's preferences?

Site Admin
Posts: 9679
Joined: Tue Mar 02, 2004 7:23 pm
Location: Montreal

Re: Dsp. Changes

Postby seb@plogue » Tue Dec 28, 2010 9:24 am

Unless you are using the hidden config option I do not specifically recall posting, any DSP change will result in all bidules/plugins data being saved then instances deleted then init-ed again using the new DSP settings and the data loaded.

Return to “Bidule SDK”

Who is online

Users browsing this forum: No registered users and 1 guest