Support for sample rate update in bluetooth sinks and sources
Since PA 2.0 there is an "alternate-sample-rate" option, and since PA 11.0 there is an "avoid-resampling" option (btw, does "avoid-resampling" subsume "alternate-sample-rate"?)
Both options use the possibility for a sink/source to register an "update_rate" callback. This is implemented in the alsa module but not in the bluetooth module. Bluetooth can support several sampling rates so it should be possible to implement this. It would use less CPU time and in my use case (raspberry pi zero W) this is something important.
A temporary workaround would be to support a "rate" module arg.