Added checks on sound sources before playing