Class Index | File Index

Classes


Class lime.audio.Audio


Defined in: audio.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
lime.audio.Audio(filePath)
Audio stream object
Field Summary
Field Attributes Field Name and Description
 
Internal audio element
<private>  
<private>  
Method Summary
Method Attributes Method Name and Description
 
Returns true if audio file has been loaded
 
Returns true if audio file is playing
<private>  
Handle loading the audio file.
 
play()
Start playing the audio
 
stop()
Stop playing the audio
Class Detail
lime.audio.Audio(filePath)
Audio stream object
Parameters:
{string} filePath
Path to audio file.
Field Detail
baseElement
Internal audio element

<private> {bBoolean}} loaded_

<private> playing_
Method Detail
{boolean} isLoaded()
Returns true if audio file has been loaded
Returns:
{boolean} Audio has been loaded.

{boolean} isPlaying()
Returns true if audio file is playing
Returns:
{boolean} Audio is playing.

<private> loadHandler_()
Handle loading the audio file. Event handlers seem to fail on lot of browsers.

play()
Start playing the audio

stop()
Stop playing the audio

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 30 2011 11:27:21 GMT+0300 (EEST)