Metadata-Version: 2.4
Name: ovos_PHAL_plugin_alsa
Version: 0.1.9a1
Summary: A volume control plugin for OpenVoiceOS hardware abstraction layer
Author-email: JarbasAi <jarbasai@mailfence.com>
License: Apache-2.0
Project-URL: Homepage, https://github.com/OpenVoiceOS/ovos-PHAL-plugin-alsa
Keywords: ovos,phal,plugin
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ovos-plugin-manager<3.0.0,>=2.1.0
Requires-Dist: ovos-bus-client<3.0.0,>=0.0.4
Requires-Dist: json_database<2.0.0,>=0.7
Requires-Dist: pyalsaaudio~=0.9
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Dynamic: license-file

# ovos-PHAL-plugin - alsa volume control

controls system volume with alsa

for voice control you need the companion [ovos-skill-volume](https://github.com/OpenVoiceOS/ovos-skill-volume)

```python
self.bus.on("mycroft.volume.get", self.handle_volume_request)
self.bus.on("mycroft.volume.set", self.handle_volume_change)
self.bus.on("mycroft.volume.mute", self.handle_mute_request)
self.bus.on("mycroft.volume.unmute", self.handle_unmute_request)
```

---

## HiveMind Support

This plugin can be used both in OVOS and with [HiveMind](https://github.com/JarbasHiveMind) satellites.

Be sure to allow `"mycroft.volume.get.response"` in your hivemind for your satellite to be able to report volume

```bash
hivemind-core allow-msg "mycroft.volume.get.response"
```
