printf("Movie playback done\n");
printf("Sound playback done\n");
nsSoundRequest::Cleanup(){  nsresult rv = NS_OK;  #ifdef SOUND_DEBUG  printf("Movie playback done\n");#endif    // kill the timer  if (mTimer) {    mTimer->Cancel();    mTimer = nsnull;  }      NS_ASSERTION(mMovies.Count() == 0, "Should not have any movies running here");    // remove from parent array. This could be the last ref, so we might be deleted here.  if (mSound.get())  {    nsSound*    macSound = NS_REINTERPRET_CAST(nsSound*, mSound.get());    rv = macSound->RemoveRequest(NS_STATIC_CAST(nsIStreamLoaderObserver*, this));    mSound = nsnull;  }    return rv;}