JUCE sample rate setting is late #5353
Labels
Bug Report
Item submitted using the Bug Report template
Rebuild With JUCE
Issues pertaining to porting Surge from VSTGUI to JUCE
Milestone
so reading the code
the sample rate is set
in AirWindowsEffect::setupSubFx
48000 is the sample rate you get if nothing has been set
so i wonder if there's an out of order create
if you change the airwin type to galactic and back do you get the right sample rate?
if so that's the bug
damnit yes that's exactly it and it is a real bug
SurgeXT Standalone
AirWin create with 48000
Setting sample rate to 44100
AirWin create with 44100
when we restore the patch the sample rate hasn't been established yet in juce through prepareToPlay
so we restore at the default of 48khz
if you swao the type it will recreate but we need to fix that
The text was updated successfully, but these errors were encountered: