Class AS::SoundPlayer
In: lib/as_sound.rb
Parent: Object

Create an audio source from a AS::Sound. Consider this class a temporary solution. The number of SoundPlayers is limited to the number of sources OpenAL will provide. (which is indeterminate)

Methods

new   play   stop   volume=  

Public Class methods

Takes a AS::Sound, and can optionally be looped.

Public Instance methods

Play this sound.

Stop playing this sound

Set the volume of the source.

[Validate]