Added buffers to read audio in with display window width calculation