Class: AudioClip

AudioClip

AudioClip provides the data for audio playback.


new AudioClip( [audioBuffer] [, looping])

Parameters:
Name Type Argument Description
audioBuffer AudioBuffer <optional>

The AudioBuffer object containing the binary sound data.

looping Boolean <optional>

Whether or not the audio clip should loop.

Properties:
Name Type Description
looping Boolean

Indicates whether or not the audio clip should loop.

buffer AudioBuffer

The AudioBuffer object containing the data for playback.

Author:
  • derschmale <http://www.derschmale.com>