The docs say you can set a gain ceiling up to 128, but if you print out the gain continuously, it never exceeds 32 (well, 29.82729, but that’s the gain returned by get_gain_db() that corresponds to a setting of 32). Setting it to 64 or 128 doesn’t push it up any higher. I tried setting the ceiling both through set_auto_gain() and set_gain_ceiling(), as well as setting the gain (not the ceiling) to those higher values through set_auto_gain().
I think 32 is the max, not 128. Thoughts?