Added Byte comparison functions from the old do_io class.
Fixed a bug where the sound would not play if the gain was too high or
too low.