https://github.com/illegalprime/alsa-monitor-node
Monitor ALSA things in node.js
https://github.com/illegalprime/alsa-monitor-node
Last synced: 3 months ago
JSON representation
Monitor ALSA things in node.js
- Host: GitHub
- URL: https://github.com/illegalprime/alsa-monitor-node
- Owner: illegalprime
- License: gpl-3.0
- Created: 2016-01-23T19:56:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T19:41:07.000Z (about 9 years ago)
- Last Synced: 2025-04-05T11:35:20.692Z (3 months ago)
- Language: C++
- Size: 22.5 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ALSA Monitoring 
A simple library to notify users when ALSA properties change.
### Currently
Currently the only implemented feature is triggering events when the volume
changes.## API
The API is straightforward:
```javascript
const alsa_monitor = require("alsa-monitor");alsa_monitor.volume.on("change", () => {
console.log("Someone changed the volume!");
});
```