Added functionality to delete buffered sound.