|
|||
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 | ||
|
|||
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 | ||
|
|||
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 |
| KVR Forum Index » DSP and Plug-in Development | All times are GMT - 8 Hours |
|
Printable version |
Disclaimer: All communications made available as part of this forum and any opinions, advice, statements, views or other information expressed in this forum are solely provided by, and the responsibility of, the person posting such communication and not of kvraudio.com (unless kvraudio.com is specifically identified as the author of the communication).
Powered by phpBB © phpBB Group












