CavernUnity DLL.Cavern.Listener.EnvironmentSize | The single most important variable defining sound space in symmetric mode, the environment scaling. Originally set by the user and applied when a Listener is created, however, overriding it in specific applications can make a huge difference. Objects inside a box this size are positioned inside the room, and defines the range of balance between left/right, front/rear, and top/bottom speakers. Does not effect directional rendering. The user's settings should be respected, thus this vector should be scaled, not completely overridden. |
CavernUnity DLL.Cavern.Listener.ReplaceChannels(int channelCount) | Replace the channel layout with a standard of a given channel count. The Listener will set up itself automatically with the user's saved configuration. The used audio channels can be queried through Channels, which should be respected, and the output audio channel count should be set to its length. If this is not possible, the layout could be set to a standard by the number of channels with this function. |