mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 07:19:52 +00:00
fix(core): separate author and user audio gain (#3328)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user