nsSoundRequest::Init(nsISound* aSound, nsIURL *aURL)
nsMovieSoundRequest::Init(nsISound* aSound, nsIURL *aURL)
nsSoundRequest::Init(nsISound* aSound, nsIURL *aURL){  NS_ENSURE_ARG(aURL && aSound);  mSound = aSound;    // if quicktime is not installed, we can't do anything  if (!HaveQuickTime())    return NS_ERROR_NOT_IMPLEMENTED;#ifdef SOUND_DEBUG  printf("%%%%%%%% Playing nsSound\n");#endif  NS_ASSERTION(mMovie == nsnull, "nsSound being played twice");    nsCOMPtr<nsIStreamLoader> streamLoader;  return NS_NewStreamLoader(getter_AddRefs(streamLoader), aURL, NS_STATIC_CAST(nsIStreamLoaderObserver*, this));}