Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » DSP and Plug-in Development
Thread Read
AU sample rate change
gbrules
KVRer
- profile
- pm
PostPosted: Tue Nov 13, 2012 3:55 pm reply with quote
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
^ Joined: 03 Oct 2012  Member: #289217  
LemonLime
KVRist
- profile
- pm
- e-mail
PostPosted: Tue Nov 13, 2012 4:58 pm reply with quote
Call GetSampleRate() within the kernel constructor and you'll get the updated sample rate if there was a change in the host.
^ Joined: 15 Apr 2012  Member: #278696  Location: Toronto, ON
gbrules
KVRer
- profile
- pm
PostPosted: Tue Nov 13, 2012 5:02 pm reply with quote
Oh, so it completely reallocs the whole plugin? huh, that seems a bit heavy but makes sense.

Thanks for the reply
GW
^ Joined: 03 Oct 2012  Member: #289217  
All times are GMT - 8 Hours

Printable version
Page 1 of 1
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012