Registry of active audio sources across all napplet windows. Emits 'napplet:audio-changed' CustomEvents when the registry changes.
import { audioManager } from '@kehto/shell';audioManager.register('win-1', 'music', 'My Song');audioManager.mute('win-1', true); Copy
import { audioManager } from '@kehto/shell';audioManager.register('win-1', 'music', 'My Song');audioManager.mute('win-1', true);
Readonly
Registry of active audio sources across all napplet windows. Emits 'napplet:audio-changed' CustomEvents when the registry changes.
Example