mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Set audioGainNode to null when couldn't setup GainNode
This commit is contained in:
parent
3418cdd666
commit
78d74cfd23
@ -116,6 +116,7 @@ export const BxExposed = {
|
||||
source.connect(gainNode).connect(audioCtx.destination);
|
||||
} catch (e) {
|
||||
BxLogger.error('setupGainNode', e);
|
||||
STATES.currentStream.audioGainNode = null;
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user