TAudioChannelGain Class Reference

class TAudioChannelGain

Type class for audio channel.

Public Member Enumerations
enum TStandardChannels {
ELowFrequencyEffects  = -1, ECenter  = 0, ERight  = 45, ERightSurround  = 90, ERightRear  = 135, ERearSurround  = 180, ELeftRear  = 225, ELeftSurround  = 270, ELeft  = 315
}
Public Attributes
TInt iGain
TInt iLocation

Member Enumerations Documentation

Enum TStandardChannels

Mapping of common channels to location degrees.

Enumerators

ELowFrequencyEffects = -1

Low Frequency Effects Channels

ECenter = 0

Center Channels

ERight = 45

Right Channels

ERightSurround = 90

Right Surround Channels

ERightRear = 135

Right Rear Channels

ERearSurround = 180

Rear Surround Channels

ELeftRear = 225

Left Rear Channels

ELeftSurround = 270

Left Surround Channels

ELeft = 315

Left Channels

Member Data Documentation

TInt iGain

TInt iGain

Absolute gain value of channel. Allowed values are 0 - MaxGain().

TInt iLocation

TInt iLocation

Location of the channel in degrees on a circle located on the same plane as the listener, with listener in the center of the circle. Negative values are used for channels the location of which is not important.