Browse Source

Misc

tags/1.9.7
falkTX 9 years ago
parent
commit
77edefce05
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      source/native-plugins/zynaddsubfx-synth.cpp

+ 5
- 5
source/native-plugins/zynaddsubfx-synth.cpp View File

@@ -327,11 +327,6 @@ private:
synth->buffersize = static_cast<int>(host->get_buffer_size(host->handle));
synth->samplerate = static_cast<uint>(host->get_sample_rate(host->handle));

if (synth->buffersize > 32)
synth->buffersize = 32;

synth->alias();

config.init();
config.cfg.SoundBufferSize = synth->buffersize;
config.cfg.SampleRate = static_cast<int>(synth->samplerate);
@@ -343,6 +338,11 @@ private:
for (int i=0; i < synth->buffersize; ++i)
denormalkillbuf[i] = (RND - 0.5f) * 1e-16f;

if (synth->buffersize > 32)
synth->buffersize = 32;

synth->alias();

Master::getInstance();
}



Loading…
Cancel
Save