Exemplo n.º 1
0
/* UpsamplerFlush ****************************************************/
Error_t
UpsamplerFlush(Upsampler* upsampler)
{
	unsigned idx;
	for (idx = 0; idx < upsampler->factor; ++idx)
	{
		FIRFilterFlush(upsampler->polyphase[idx]);
	}
	return NOERR;
}
Exemplo n.º 2
0
/* *****************************************************************************
 DecimatorFlush */
Error_t
DecimatorFlush(Decimator* decimator)
{
    unsigned idx;
    for (idx = 0; idx < decimator->factor; ++idx)
    {
        FIRFilterFlush(decimator->polyphase[idx]);
    }
    return NOERR;
}