Could this function and PlayLoadedSoundFrom be merged a bit more, to avoid the duplication of implementation details?