mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 20:58:27 +02:00
Set audioGainNode to null when couldn't setup GainNode
This commit is contained in:
@@ -116,6 +116,7 @@ export const BxExposed = {
|
|||||||
source.connect(gainNode).connect(audioCtx.destination);
|
source.connect(gainNode).connect(audioCtx.destination);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
BxLogger.error('setupGainNode', e);
|
BxLogger.error('setupGainNode', e);
|
||||||
|
STATES.currentStream.audioGainNode = null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user