What is KVR Audio? | Submit News | Advertise | Developer Account

Options (Affects News & Product results only):

Quick Search KVR

"Quick Search" KVR Audio's Product Database, News Items, Developer Listings, Forum Topics and videos here. For advanced Product Database searching please use the full product search. For the forum you can use the phpBB forum search.

To utilize the power of Google you can use the integrated Google Site Search.

Products 0

Developers 0

News 0

Forum 0

Videos 0


AU sample rate change

DSP, Plug-in and Host development discussion.

Moderator: Moderators (Main)

11 posts since 3 Oct, 2012

Postby gbrules; Tue Nov 13, 2012 3:55 pm AU sample rate change

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?

226 posts since 15 Apr, 2012, from Toronto, ON

Postby LemonLime; Tue Nov 13, 2012 4:58 pm

Call GetSampleRate() within the kernel constructor and you'll get the updated sample rate if there was a change in the host.
11 posts since 3 Oct, 2012

Postby gbrules; Tue Nov 13, 2012 5:02 pm

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

Thanks for the reply

Moderator: Moderators (Main)

Return to DSP and Plug-in Development