fix(core): separate author and user audio gain (#3328)

This commit is contained in:
Miguel Ángel
2026-08-18 10:59:12 -04:00
committed by GitHub
parent afafca4b96
commit 995c9e346e
6 changed files with 93 additions and 7 deletions
@@ -481,6 +481,11 @@ export class WebAudioTransport {
return !this._paused && this._activeSources.some((s) => s.el === el && isBufferSource(s));
}
/** Whether this element's native signal currently flows through the WebAudio graph. */
routesElement(el: HTMLMediaElement): boolean {
return !this._paused && this._activeSources.some((source) => source.el === el);
}
destroy(): void {
this.stopAll();
this._bufferCache.clear();