audio.createSound

Revision as of 18:46, 28 September 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

Sound audio.createSound(Stream audioData, bool loop)

The audio.createSound function is used to add a sound that optionally loops.

Parameters

1) Stream audioData The stream of audio data.
2) bool loop Whether to play the sound repeatedly.

Return

Sound A sound object.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.