node-minidsp
node-minidsp copied to clipboard
Is there a way to have getGain for inputs as well as set?
I'm wondering how to find out from the API what the input gain is, whether one has set it or not.
It seems that the setGain command doesn't return anything, and it's not a part of _masterStatus etc, so I'm wondering if anyone has seen anything perhaps in watching the mobile app.
Thanks!
From what I remember only the output gain was reported on the protocol - the client application remembers the last input gain setting and uses those (although I haven't looked at this in a few years, back then the mobile app didn't allow you to look at input gains at all).
If the mobile app does it, then it should be fairly straightforward to look at network packets and do the same thing over USB.
The MacOS app (plugged in via USB) certainly does it, so it's possible to query the device... but that doesn't mean that the remote app does. I haven't played with the remote app; I guess I'll take a whack at that. Thanks.