Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

  ArrayExtensions

  CavernAmp

  ChannelExtensions

  ColorUtils

  Complex

  ComplexArray

  FFTCache

  IComparable

  IEquatable

  IEquatable

  Linked

  ListExtensions

  Measurements

  RenderStats

  Resample

  RunningChannelSeparator

  ThreadSafeFFTCache

  Tunneler

  VectorExtensions

  VectorUtils

  WaveformUtils

  Delay(Complex[], float)

  Delay(float[], float)

  Delay(float[], float, FFTCache)

  Delay(float[], int)

  Downmix(float[], float[], int)

  Downmix(float[], int)

  ExtractChannel(float[], float[], int, int)

  Gain(float[], float, int, int)

  Gain(float[], float)

  Gain(float[][], float)

  GetPeak(float[])

  GetPeak(float[], int, int)

  GetPeak(float[], int, int, int)

  GetPeak(float[][])

  GetPeakSigned(float[])

  GetPeakSigned(float[], int, int)

  GetRMS(float[])

  Insert(float[], float[], int, int)

  Insert(float[], float[], float)

  InterlacedToMultichannel(float[], float[][])

  Invert(float[])

  IsMute(this float[])

  IsMute(this float[][])

  Mix(float[], float[])

  Mix(float[], float[], float)

  Mix(float[], float[], int, int, float)

  Mix(float[], int, int, int)

  MultichannelToInterlaced(float[][], long, long)

  Normalize(this float[])

  Normalize(this float[][])

  Split(this float[][], int)

  Subtract(this float[], float[])

  SwapChannels(this float[], int, int, int)

  TrimEnd(ref float[])

  TrimEnd(this float[][])

  TrimStart(ref float[])

  TrimStart(this float[][])

  WindowBase

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

void SwapChannels(this float[] target, int channelA, int channelB, int channels)

Swap two channels in an interlaced block of samples.
VisibilityPublic
Modifiersstatic

Parameters

this float[] targetInterlaced block of samples
int channelAFirst channel index
int channelBSecond channel index
int channelsTotal channel count