mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-30 23:49:28 +02:00
Simplify conditions
This commit is contained in:
parent
0a035b0ffc
commit
ec31d105bf
@ -166,7 +166,7 @@ wxArrayString VampEffectsModule::FindPluginPaths(PluginManagerInterface & WXUNUS
|
||||
if (j->sampleType == Plugin::OutputDescriptor::FixedSampleRate ||
|
||||
j->sampleType == Plugin::OutputDescriptor::OneSamplePerStep ||
|
||||
!j->hasFixedBinCount ||
|
||||
(j->hasFixedBinCount && j->binCount > 1))
|
||||
j->binCount > 1)
|
||||
{
|
||||
// All of these qualities disqualify (see notes above)
|
||||
|
||||
@ -299,7 +299,7 @@ std::unique_ptr<Vamp::Plugin> VampEffectsModule::FindPlugin(const wxString & pat
|
||||
if (j->sampleType == Plugin::OutputDescriptor::FixedSampleRate ||
|
||||
j->sampleType == Plugin::OutputDescriptor::OneSamplePerStep ||
|
||||
!j->hasFixedBinCount ||
|
||||
(j->hasFixedBinCount && j->binCount > 1))
|
||||
j->binCount > 1)
|
||||
{
|
||||
// All of these qualities disqualify (see notes above)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user