This funciton is ideal to play one-shot sound effects. It will play the sound effect from the beginning, even if it's already playing.
You can also use this function to play audio tracks, but it is recommended to use the AudioPlayer component for this. The AudioPlayer component can handle the browser's autoplay policy and other audio-related functions.

const audioSource = this.assetManager.getAudio("audio/sfx/coin.ogg");
playSfx({ audioSource });
const audioSource = this.assetManager.getAudio("audio/sfx/coin.ogg");
playSfx({ audioSource, volume: 0.5 });
const audioSource = this.assetManager.getAudio("audio/sfx/coin.ogg");
playSfx({ audioSource, loop: true });