MCPcopy Create free account
hub / github.com/JavaCS3/xterm-player / volume

Method volume

src/Player.ts:171–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169 }
170
171 public get volume(): number { return this._audio.volume }
172 public set volume(v: number) {
173 this._audio.volume = Math.min(Math.max(v, 0), 1)
174 this._onVolumeChanged.fire(this._audio.volume)

Callers

nothing calls this directly

Calls 1

fireMethod · 0.65

Tested by

no test coverage detected