refactor audio service