Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/illegalprime/alsa-monitor-node
Monitor ALSA things in node.js
https://github.com/illegalprime/alsa-monitor-node
Last synced: about 1 month 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T19:41:07.000Z (over 8 years ago)
- Last Synced: 2024-11-11T03:52:49.706Z (about 2 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 ![build status](https://api.travis-ci.org/illegalprime/alsa-monitor-node.svg)
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!");
});
```