Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EffectCache ¶ added in v1.8.0
type EffectCache struct {
// contains filtered or unexported fields
}
EffectCache retrieves audio samples stored as VOC files from a localizer and keeps them cached until they are invalidated.
func NewEffectCache ¶ added in v1.8.0
func NewEffectCache(localizer resource.Localizer) *EffectCache
NewEffectCache returns a new instance.
func (*EffectCache) InvalidateResources ¶ added in v1.8.0
func (cache *EffectCache) InvalidateResources(ids []resource.ID)
InvalidateResources lets the cache remove any sounds from resources that are specified in the given slice.
Click to show internal directories.
Click to hide internal directories.