Poster of Linux kernelThe best gift for a Linux geek
ost::AudioResample

ost::AudioResample

Section: C Library Functions (3) Updated: 1 May 2009
Local index Up
 

NAME

ost::AudioResample - The AudioResample class is used to manage linear intropolation buffering for rate conversions.

 

SYNOPSIS


#include <audio2.h>

Inherits ost::Audio.

 

Public Member Functions


AudioResample (Rate mul, Rate div)

~AudioResample ()

size_t process (Linear from, Linear to, size_t count)

size_t estimate (size_t count)
 

Protected Attributes


unsigned mfact

unsigned dfact

unsigned max

unsigned gpos

unsigned ppos

Sample last

Linear buffer
 

Detailed Description

The AudioResample class is used to manage linear intropolation buffering for rate conversions.

Author:

David Sugar <dyfet@ostel.com> linear intropolation and rate conversion.

 

Constructor & Destructor Documentation

 

ost::AudioResample::AudioResample (Rate mul, Rate div)

 

ost::AudioResample::~AudioResample ()

 

Member Function Documentation

 

size_t ost::AudioResample::estimate (size_t count)

 

size_t ost::AudioResample::process (Linear from, Linear to, size_t count)

 

Member Data Documentation

 

Linear ost::AudioResample::buffer [protected]

 

unsigned ost::AudioResample::dfact [protected]

 

unsigned ost::AudioResample::gpos [protected]

 

Sample ost::AudioResample::last [protected]

 

unsigned ost::AudioResample::max [protected]

 

unsigned ost::AudioResample::mfact [protected]

 

unsigned ost::AudioResample::ppos [protected]

 

Author

Generated automatically by Doxygen for ccAudio from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Attributes
Detailed Description
Constructor & Destructor Documentation
ost::AudioResample::AudioResample (Rate mul, Rate div)
ost::AudioResample::~AudioResample ()
Member Function Documentation
size_t ost::AudioResample::estimate (size_t count)
size_t ost::AudioResample::process (Linear from, Linear to, size_t count)
Member Data Documentation
Linear ost::AudioResample::buffer [protected]
unsigned ost::AudioResample::dfact [protected]
unsigned ost::AudioResample::gpos [protected]
Sample ost::AudioResample::last [protected]
unsigned ost::AudioResample::max [protected]
unsigned ost::AudioResample::mfact [protected]
unsigned ost::AudioResample::ppos [protected]
Author

This document was created by man2html, using the manual pages.
Time: 21:51:50 GMT, April 16, 2011