Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/toolkit/actors/     Datei vom 27.6.2026 mit Größe 677 B image not shown  

SSL AudioPlaybackChild.sys.mjs  Sprache: unbekannt

 
Spracherkennung für: .mjs vermutete Sprache: Masm {Masm[104] Delphi[70] ABAP[60]} [Methode: maximale Elemente, drei Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export class AudioPlaybackChild extends JSWindowActorChild {
  observe(subject, topic, data) {
    if (topic === "audio-playback") {
      let name = "AudioPlayback:";
      if (data === "activeMediaBlockStart") {
        name += "ActiveMediaBlockStart";
      } else if (data === "activeMediaBlockStop") {
        name += "ActiveMediaBlockStop";
      } else {
        name += data === "active" ? "Start" : "Stop";
      }
      this.sendAsyncMessage(name);
    }
  }
}

[Verzeichnis aufwärts0.46unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-10-21]