67 static const Channel MONO_MAP[];
68 static const Channel STEREO_MAP[];
69 static const Channel STEREO_LFE_MAP[];
70 static const Channel SURROUND4_MAP[];
71 static const Channel SURROUND5_MAP[];
72 static const Channel SURROUND51_MAP[];
73 static const Channel SURROUND61_MAP[];
74 static const Channel SURROUND71_MAP[];
75 static const Channel* CHANNEL_MAPS[];
77 static const float MONO_ANGLES[];
78 static const float STEREO_ANGLES[];
79 static const float STEREO_LFE_ANGLES[];
80 static const float SURROUND4_ANGLES[];
81 static const float SURROUND5_ANGLES[];
82 static const float SURROUND51_ANGLES[];
83 static const float SURROUND61_ANGLES[];
84 static const float SURROUND71_ANGLES[];
85 static const float* CHANNEL_ANGLES[];
99 float AUD_LOCAL angleDistance(
float alpha,
float beta);
131 void setChannels(
Channels channels);
139 float getMapping(
int source,
int target);
145 void setMonoAngle(
float angle);
148 virtual void read(
int& length,
bool& eos,
sample_t* buffer);
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
virtual Specs getSpecs() const
Returns the specification of the reader.
Channels
The channel count.
Definition: Specification.h:58
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Channel
The channel names.
Definition: Specification.h:72
This class maps a sound source's channels to a specific output channel count.
Definition: ChannelMapperReader.h:34
Specification of a sound source.
Definition: Specification.h:109
This reader is a base class for all effect readers that take one other reader as input.
Definition: EffectReader.h:35
This class is a simple buffer in RAM which is 32 Byte aligned and provides resize functionality...
Definition: Buffer.h:33
float sample_t
Sample type.(float samples)
Definition: Audaspace.h:126
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
#define AUD_LOCAL
Used for hiding symbols from export in the shared library.
Definition: Audaspace.h:80
virtual void read(int &length, bool &eos, sample_t *buffer)
Request to read the next length samples out of the source.