Skip to content

getAudioTrack

getAudioTrack(trackId, category?): IAudioTrack | undefined

Gets a track.

Parameters

trackId: string

category?: string

Returns

IAudioTrack | undefined

The IAudioTrack created or undefined if not able to create track. This could happen if the source file could not be found.

Source

src/audio/HowlerManager.ts:46