mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
update qm-dsp library
This commit is contained in:
parent
2a27cc4758
commit
f68d2e06bc
100 changed files with 58968 additions and 55091 deletions
|
|
@ -199,10 +199,15 @@ void Decimator::doAntiAlias(const float *src, double *dst, unsigned int length)
|
|||
|
||||
void Decimator::process(const double *src, double *dst)
|
||||
{
|
||||
if( m_decFactor != 1 )
|
||||
{
|
||||
doAntiAlias( src, decBuffer, m_inputLength );
|
||||
if (m_decFactor == 1) {
|
||||
for( unsigned int i = 0; i < m_outputLength; i++ ) {
|
||||
dst[i] = src[i];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
doAntiAlias( src, decBuffer, m_inputLength );
|
||||
|
||||
unsigned idx = 0;
|
||||
|
||||
for( unsigned int i = 0; i < m_outputLength; i++ )
|
||||
|
|
@ -213,10 +218,15 @@ void Decimator::process(const double *src, double *dst)
|
|||
|
||||
void Decimator::process(const float *src, float *dst)
|
||||
{
|
||||
if( m_decFactor != 1 )
|
||||
{
|
||||
doAntiAlias( src, decBuffer, m_inputLength );
|
||||
if (m_decFactor == 1) {
|
||||
for( unsigned int i = 0; i < m_outputLength; i++ ) {
|
||||
dst[i] = src[i];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
doAntiAlias( src, decBuffer, m_inputLength );
|
||||
|
||||
unsigned idx = 0;
|
||||
|
||||
for( unsigned int i = 0; i < m_outputLength; i++ )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue