public void mute()
  {
    if (!this.muted)
    {
      this.muted = true;
      Enumeration localEnumeration = this.soundRecords.elements();
      Vector localVector = new Vector();
      while (localEnumeration.hasMoreElements())
      {
        SoundRecord localSoundRecord = (SoundRecord)localEnumeration.nextElement();
        this.device.stopMethod(localSoundRecord);
        if (!localSoundRecord.isLooping())
          localVector.addElement(localSoundRecord);
      }
      localEnumeration = localVector.elements();
      while (localEnumeration.hasMoreElements())
        this.soundRecords.removeElement(localEnumeration.nextElement());
      localVector.removeAllElements();
    }
  }