AU sample rate change

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

Quick question that I can't find the answer to. When an audio unit is already open and running, if the host changes the sample rate how does it notify the audio unit? Does it call Initialize() and it's up to me to change my internal code as necessary?

Thanks
GW

Post

Call GetSampleRate() within the kernel constructor and you'll get the updated sample rate if there was a change in the host.

Post

Oh, so it completely reallocs the whole plugin? huh, that seems a bit heavy but makes sense.

Thanks for the reply
GW

Post Reply

Return to “DSP and Plugin Development”