[Jslib] Re: Sound

pete collins petejc@mozdev.org
Wed, 13 Mar 2002 15:07:46 -0500


I remember playing a wav on FreeBSD.



--pete


Brian King wrote:
>> I'll give it a shot tonight, and post the errors here if I get them.
>> Does the sound file have to be loaded from a chrome:// url?
> 
> 
> I think resource urls are supported too.
> 
>> Also, what format should it support? I tested it under Windows with a 
>> .wav file, which I assume should be OK?
> 
> 
> Last time I tried it (long time ago), only .wav was supported on 
> windows. Here is what the GTK code says however:
> 
> http://lxr.mozilla.org/seamonkey/source/widget/src/gtk/nsSound.cpp#147
> 
> - Brian