https://github.com/pimaker/pulseaudio-events
Rust client for PulseAudio events
https://github.com/pimaker/pulseaudio-events
Last synced: 9 months ago
JSON representation
Rust client for PulseAudio events
- Host: GitHub
- URL: https://github.com/pimaker/pulseaudio-events
- Owner: PiMaker
- License: mit
- Created: 2020-02-16T02:18:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-16T02:43:19.000Z (over 6 years ago)
- Last Synced: 2025-05-20T13:56:06.034Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pulseaudio-events
Simple Rust client for PulseAudio that prints server-side events as they occur. Think `pactl subscribe` but with filtering and much improved performance for scripting etc.
# Usage
```
Listens for a specified event from PulseAudio and prints it.
USAGE:
pulseaudio-events [FLAGS] [OPTIONS]
FLAGS:
-d, --debug Print all events, even ones not matching filters
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --facility ... Facility to match against. Can be given more than once. Omit to allow all
facilities. [possible values: sink, source, sink_input, source_output, module,
client, sample_cache, server]
-o, --operation ... Operation to match against. Can be given more than once. Omit to allow all
operations. [possible values: new, changed, removed]
```