Allow to set gain manually

It's mostly for the research into what samples we get. The automatic
gain seems to work just fine.