Legacy Documentation: Version 5.1
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 function GetOutputData(numSamples: int, channel: int): float[];

Parameters

Description

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


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

Parameters

Description

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