Speaker volume hysteresis

This is another attempt at original pull request https://github.com/opentx/opentx/pull/600

I have tested my code with current master branch and it works. I have not tested it in next, only copied changes.