ConstNumber of active audio sources.
Current version counter (incremented on every change).
Clear all audio sources and reset version counter.
Get the audio source for a window.
The window identifier
The AudioSource, or undefined if not found
Get a snapshot of all audio sources.
A new Map of all active audio sources
Check if a window has a registered audio source.
The window identifier
True if the window has an active audio source
Register a new audio source for a window.
The window identifier
The napplet class/type (e.g., 'music-player')
Human-readable title for the audio source
Unregister an audio source for a window.
The window identifier to remove
Update the state of an audio source (e.g., change title).
The window identifier
Partial update with optional title
Registry of active audio sources across all napplet windows. Emits 'napplet:audio-changed' CustomEvents when the registry changes.