Audaspace 1.5.0
A high level audio library.
|
This sound creates a resampling reader that does Julius O. More...
#include <JOSResample.h>
Public Member Functions | |
JOSResample (std::shared_ptr< ISound > sound, DeviceSpecs specs, ResampleQuality quality=ResampleQuality::HIGH) | |
Creates a new sound. | |
virtual std::shared_ptr< IReader > | createReader () |
Creates a reader for playback of the sound source. | |
Public Member Functions inherited from SpecsChanger | |
SpecsChanger (std::shared_ptr< ISound > sound, DeviceSpecs specs) | |
Creates a new sound. | |
DeviceSpecs | getSpecs () const |
Returns the target specification for resampling. | |
std::shared_ptr< ISound > | getSound () const |
Returns the saved sound. | |
Public Member Functions inherited from ISound | |
virtual | ~ISound () |
Destroys the sound. | |
Additional Inherited Members | |
Protected Member Functions inherited from SpecsChanger | |
std::shared_ptr< IReader > | getReader () const |
Returns the reader created out of the sound. | |
Protected Attributes inherited from SpecsChanger | |
const DeviceSpecs | m_specs |
The target specification for resampling. | |
std::shared_ptr< ISound > | m_sound |
If there is no reader it is created out of this sound. | |
This sound creates a resampling reader that does Julius O.
Smith's resampling algorithm.
JOSResample::JOSResample | ( | std::shared_ptr< ISound > | sound, |
DeviceSpecs | specs, | ||
ResampleQuality | quality = ResampleQuality::HIGH ) |
Creates a new sound.
sound | The input sound. |
specs | The target specifications. |
|
virtual |