Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Obsolete
GetOutputData returning a float[] is deprecated, use GetOutputData and pass a pre allocated array instead.

AudioListener.GetOutputData

Switch to Manual
public static float[] GetOutputData(int numSamples, int channel);

Parameters

Description

Returns a block of the listener (master)'s output data.


public static void GetOutputData(float[] samples, int channel);

Parameters

Description

Returns a block of the listener (master)'s output data.