Decrease buffer's SDRAM usage

Probably consider using a different format for storing data in the buffer. In this case you would probably have to use 16 bit integers.