File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -807,7 +807,7 @@ class PluginProcessTestingThread : public Thread
807
807
protected:
808
808
void run () override
809
809
{
810
- plugin.setBufferSize (256 );
810
+ plugin.setBufferSize (256 , true );
811
811
plugin.activate ();
812
812
813
813
float buffer[256 ];
@@ -862,8 +862,8 @@ bool runSelfTests()
862
862
863
863
plugin.activate ();
864
864
plugin.deactivate ();
865
- plugin.setBufferSize (128 );
866
- plugin.setSampleRate (48000 );
865
+ plugin.setBufferSize (128 , true );
866
+ plugin.setSampleRate (48000 , true );
867
867
plugin.activate ();
868
868
869
869
float buffer[128 ] = {};
Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ class PluginLv2
821
821
if (options[i].type == fURIDs .atomInt )
822
822
{
823
823
const int32_t bufferSize (*(const int32_t *)options[i].value );
824
- fPlugin .setBufferSize (bufferSize);
824
+ fPlugin .setBufferSize (bufferSize, true );
825
825
}
826
826
else
827
827
{
@@ -833,7 +833,7 @@ class PluginLv2
833
833
if (options[i].type == fURIDs .atomInt )
834
834
{
835
835
const int32_t bufferSize (*(const int32_t *)options[i].value );
836
- fPlugin .setBufferSize (bufferSize);
836
+ fPlugin .setBufferSize (bufferSize, true );
837
837
}
838
838
else
839
839
{
@@ -846,7 +846,7 @@ class PluginLv2
846
846
{
847
847
const float sampleRate (*(const float *)options[i].value );
848
848
fSampleRate = sampleRate;
849
- fPlugin .setSampleRate (sampleRate);
849
+ fPlugin .setSampleRate (sampleRate, true );
850
850
}
851
851
else
852
852
{
Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ class PluginVst : public ParameterAndNotesHelper
548
548
549
549
#if DISTRHO_PLUGIN_HAS_UI
550
550
if (fVstUI != nullptr )
551
- fVstUI ->setSampleRate (opt);
551
+ fVstUI ->setSampleRate (opt, true );
552
552
#endif
553
553
break ;
554
554
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ class UiLv2
259
259
if (options[i].type == fURIDs .atomFloat )
260
260
{
261
261
const float sampleRate = *(const float *)options[i].value ;
262
- fUI .setSampleRate (sampleRate);
262
+ fUI .setSampleRate (sampleRate, true );
263
263
continue ;
264
264
}
265
265
else
You can’t perform that action at this time.
0 commit comments