readding changes to AudioManager.cpp