10-11-2022, 10:54 AM
(10-11-2022, 08:14 AM)sll552 Wrote: I have had time to test if an alsa plugin would work and put something together that I guess could either work or at least be a starting point for having an universal start/stop hook. I would appreciate if someone with a little more knowledge of alsa could take a look at https://github.com/sll552/alsa-shim
I have tested it and it works for my usecase, maybe someone with a more advanced setup could test it too (Spotify, BT, ...).
If I understand correctly moode is already using a customized version of the camillaDSP alsa plugin, so would it possible to add something like this to moode? Only minimal changes should be required to the alsa config.
Looking at the Git repo there is no description of what the code does or examples of how it is to be used.
The other question is why did you choose the Apache 2 License and not GPLv3 or MIT? The ASF states that its compatible with GPLv3 but then I need a Lawyer to understand the rest of their article...
https://www.apache.org/licenses/GPL-compatibility.html
For whatever License you choose, you should add a comment header to the source code that contains a summary statement of the License.