Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

  Channels

  Clip(float[], int, int)

  Clip(float[][], int)

  data

  GetData(float[], int, int)

  GetData(float[], int)

  GetData(float[][], int)

  GetDataNonLooping(float[], int)

  GetDataNonLooping(float[][], int)

  Length

  Name

  operator bool(Clip)

  SampleRate

  Samples

  SetData(float[], int)

  SetData(float[][], int)

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

bool GetData(float[] data, int channel, int offset)

Fills an array with a single channel's sample data from the clip.
Clip data overflows, and free samples are filled with the beginning of the Clip.
VisibilityPublic

Parameters

float[] dataAudio data cache
int channelChannel ID to get samples from
int offsetOffset from the beginning of the clip in samples, for a single channel