Audaspace
1.3.0
A high level audio library.
|
Go to the documentation of this file.
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);
Specification of a sound source.
Definition: Specification.h:110
Channel
The channel names.
Definition: Specification.h:73
~ChannelMapperReader()
Destroys the reader.
void setChannels(Channels channels)
Sets the requested channel output count.
Channels getChannels() const
Returns the target channel configuration.
void setMonoAngle(float angle)
Sets the angle for mono sources.
float getMapping(int source, int target)
Returns the mapping of the source channel to the target channel.
Channels
The channel count.
Definition: Specification.h:59
This class maps a sound source's channels to a specific output channel count.
Definition: ChannelMapperReader.h:35
ChannelMapperReader(std::shared_ptr< IReader > reader, Channels channels)
Creates a channel mapper reader.
virtual void read(int &length, bool &eos, sample_t *buffer)
Request to read the next length samples out of the source.
This reader is a base class for all effect readers that take one other reader as input.
Definition: EffectReader.h:36
#define AUD_LOCAL
Used for hiding symbols from export in the shared library.
Definition: Audaspace.h:80
This class is a simple buffer in RAM which is 32 Byte aligned and provides resize functionality.
Definition: Buffer.h:34
Channels getSourceChannels() const
Returns the channel configuration of the source reader.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
virtual Specs getSpecs() const
Returns the specification of the reader.
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