34class AUD_API ConverterReader :
public EffectReader
53 ConverterReader(
const ConverterReader&) =
delete;
54 ConverterReader& operator=(
const ConverterReader&) =
delete;
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
float sample_t
Sample type.(float samples)
Definition Audaspace.h:126
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
Defines several conversion functions between different sample formats.
void(* convert_f)(data_t *target, data_t *source, int length)
The function template for functions converting from one sample format to another, having the same par...
Definition ConverterFunctions.h:35
SampleFormat
The format of a sample.
Definition Specification.h:47
This class is a simple buffer in RAM which is 32 Byte aligned and provides resize functionality.
Definition Buffer.h:34
virtual void read(int &length, bool &eos, sample_t *buffer)
Request to read the next length samples out of the source.
ConverterReader(std::shared_ptr< IReader > reader, DeviceSpecs specs)
Creates a converter reader.
Specification of a sound device.
Definition Specification.h:129