libsidplayfp 1.0.3
Public Member Functions | Protected Member Functions
reSIDfp::Resampler Class Reference

#include <Resampler.h>

Inheritance diagram for reSIDfp::Resampler:
reSIDfp::SincResampler reSIDfp::TwoPassSincResampler reSIDfp::ZeroOrderResampler

List of all members.

Public Member Functions

virtual bool input (int sample)=0
short getOutput () const
virtual void reset ()=0

Protected Member Functions

virtual int output () const =0

Detailed Description

Abstraction of a resampling process. Given enough input, produces output. Constructors take additional arguments that configure these objects.

Author:
Antti Lankila

Member Function Documentation

short reSIDfp::Resampler::getOutput ( ) const [inline]

Output a sample from resampler.

Returns:
resampled sample
virtual bool reSIDfp::Resampler::input ( int  sample) [pure virtual]

Input a sample into resampler. Output "true" when resampler is ready with new sample.

Parameters:
sampleinput sample
Returns:
true when a sample is ready

Implemented in reSIDfp::SincResampler, reSIDfp::TwoPassSincResampler, and reSIDfp::ZeroOrderResampler.


The documentation for this class was generated from the following file: