MCPcopy Create free account
hub / github.com/melonjs/melonJS / pause

Function pause

packages/melonjs/src/audio/playback.ts:365–367  ·  view source on GitHub ↗
(sound_name: string, id?: number)

Source from the content-addressed store, hash-verified

363 * @category Audio
364 */
365export function pause(sound_name: string, id?: number): void {
366 getSoundOrThrow(sound_name).pause(id);
367}
368
369/**
370 * Resume the specified sound on all channels.

Callers

nothing calls this directly

Calls 2

getSoundOrThrowFunction · 0.90
pauseMethod · 0.45

Tested by

no test coverage detected