Added `onAudioProcess` function