1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

IntHalfbandFilters: set workInterpolateCenter optimized methods as defaults

This commit is contained in:
f4exb 2017-04-26 01:57:11 +02:00
parent cd7e4e4385
commit 172de27047
3 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ public:
}
// upsample by 2, return center part of original spectrum
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{
@ -113,7 +113,7 @@ public:
}
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{

View File

@ -61,7 +61,7 @@ public:
}
// upsample by 2, return center part of original spectrum - double buffer variant
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{
@ -92,7 +92,7 @@ public:
}
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{

View File

@ -64,7 +64,7 @@ public:
}
// upsample by 2, return center part of original spectrum - double buffer variant
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenterZeroStuffing(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{
@ -95,7 +95,7 @@ public:
}
/** Optimized upsampler by 2 not calculating FIR with inserted null samples */
bool workInterpolateCenterOptimized(Sample* sampleIn, Sample *SampleOut)
bool workInterpolateCenter(Sample* sampleIn, Sample *SampleOut)
{
switch(m_state)
{