Added capability to buffer sound