There's currently no way to dynamically change the gain on the SDR on the fly, but, for example, SoapySDR does. For backends that support it it would be nice for there to be an API to adjust the gain, & maybe other properties like sampling rate, iq balance, dc offset, and bandwidth although I'm not sure about those being useful in practice like gain is (e.g. it's common to expose a UI knob to adjust the gain dynamically).
There's currently no way to dynamically change the gain on the SDR on the fly, but, for example, SoapySDR does. For backends that support it it would be nice for there to be an API to adjust the gain, & maybe other properties like sampling rate, iq balance, dc offset, and bandwidth although I'm not sure about those being useful in practice like gain is (e.g. it's common to expose a UI knob to adjust the gain dynamically).