Add getDuration function to the soundManager

@kadst43 @BrettASwift