Gin
Public Member Functions | List of all members
ResamplingFifo Class Reference

ResamplingFifo - uses secret rabbit code. More...

Public Member Functions

 ResamplingFifo (int blockSize, int numChannels=2, int maxSamples=44100)
 
 ~ResamplingFifo ()
 
void setSize (int blockSize, int numChannels=2, int maxSamples=44100)
 
void setResamplingRatio (double inputRate, double outputRate)
 
void setRatio (float ratio)
 
float getRatio ()
 
void setQuality (int q)
 0 - 4: 0 is worst, 4 is best More...
 
void reset ()
 
int samplesReady ()
 
void pushAudioBuffer (const juce::AudioSampleBuffer &buffer)
 
void popAudioBuffer (juce::AudioSampleBuffer &buffer)
 
void popAudioBufferAdding (juce::AudioSampleBuffer &buffer)
 

Detailed Description

ResamplingFifo - uses secret rabbit code.

Constructor & Destructor Documentation

◆ ResamplingFifo()

ResamplingFifo::ResamplingFifo ( int  blockSize,
int  numChannels = 2,
int  maxSamples = 44100 
)

◆ ~ResamplingFifo()

ResamplingFifo::~ResamplingFifo ( )

Member Function Documentation

◆ setSize()

void ResamplingFifo::setSize ( int  blockSize,
int  numChannels = 2,
int  maxSamples = 44100 
)

◆ setResamplingRatio()

void ResamplingFifo::setResamplingRatio ( double  inputRate,
double  outputRate 
)

◆ setRatio()

void ResamplingFifo::setRatio ( float  ratio)

◆ getRatio()

float ResamplingFifo::getRatio ( )

◆ setQuality()

void ResamplingFifo::setQuality ( int  q)

0 - 4: 0 is worst, 4 is best

◆ reset()

void ResamplingFifo::reset ( )

◆ samplesReady()

int ResamplingFifo::samplesReady ( )

◆ pushAudioBuffer()

void ResamplingFifo::pushAudioBuffer ( const juce::AudioSampleBuffer &  buffer)

◆ popAudioBuffer()

void ResamplingFifo::popAudioBuffer ( juce::AudioSampleBuffer &  buffer)

◆ popAudioBufferAdding()

void ResamplingFifo::popAudioBufferAdding ( juce::AudioSampleBuffer &  buffer)

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