sudio
Contents
Installation
Usage Examples
Master Module
Pipeline Module
Audiosys Module
API
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Struct AudioDeviceInfo
Struct AudioFileInfo
Class CallbackResampler
Class Resampler
Class AudioException
Class AudioInitException
Class AudioStream
Class DeviceException
Class InvalidParameterException
Class ResourceException
Class StreamException
Class AlsaErrorSuppressor
Class AudioCodec
Class AudioCodec::AudioFileStream
Enums
Functions
Defines
I/O module
Metadata Module
Stream Module
Sudio Types
utils Module
RateShift Module
Process Module
Source code
sudio
API
Class Resampler
Class Resampler
Defined in
File rateshift.hpp
Class Documentation
class
Resampler
Public Functions
Resampler
(
ConverterType
converter_type
,
int
channels
)
~Resampler
(
)
std
::
vector
<
float
>
process
(
const
std
::
vector
<
float
>
&
input
,
double
sr_ratio
,
bool
end_of_input
)
void
set_ratio
(
double
new_ratio
)
void
reset
(
)