[reafactor code] refactored the audio buffer