Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(b01adad7-d937-4738-8508-3bd5946bf9c8)]
interface nsISound : nsISupports

Methods


        
void beep()
 Not strictly necessary, but avoids delay before first sound.
 The various methods on nsISound call Init() if they need to.
void init()

        
void play(in nsIURL aURL)
 for playing system sounds
void playSystemSound(in AString soundAlias)