constant gain support
Merge pull request #3 from dharmab/master

constant gain support