indexInterfaces
Interface: SoundChannelsInterface
Defined in: src/sound/interfaces/SoundChannelsInterface.ts:4
Properties
values
> readonly values: AudioChannelInterface[]
Defined in: src/sound/interfaces/SoundChannelsInterface.ts:15
All registered audio channels.
Methods
add()
> add(alias, options?): AudioChannelInterface | undefined
Defined in: src/sound/interfaces/SoundChannelsInterface.ts:9
Add a new audio channel.
Returns the created channel, or undefined if the alias already exists.
Parameters
alias
string | string[]
options?
Returns
AudioChannelInterface | undefined
find()
> find(alias): AudioChannelInterface
Defined in: src/sound/interfaces/SoundChannelsInterface.ts:13
Find the channel for the given alias, creating it if it does not yet exist.
Parameters
alias
string