Assists in caching metadata for partial sounds. This is useful for when you want to play a sound with a specific kbps or intro offset, we can use this to get the data. If you want to get info from this cache, we save it as path + startRange from FlxPartialSound

Static variables

Variables

cache:Map<String, SoundMetadata>

Methods

get(sound:String):SoundMetadata

Return metadata from the cache

Parameters:

sound

Returns:

SoundMetadata

getIntroOffset(sound:String):Int

getKbps(sound:String):Int

set(sound:String, metadata:SoundMetadata):Void

setIntroOffset(sound:String, introOffsetMs:Int):Void

setKbps(sound:String, kbps:Int):Void