fix silence generation and support for 8bit audio