pxt-microbit 6.0.13 → 6.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/built/sim.js CHANGED
@@ -2421,6 +2421,8 @@ var pxsim;
2421
2421
  setTimeout(async () => {
2422
2422
  if (!b.recordingState.currentlyErasing && b.recordingState.recording) {
2423
2423
  try {
2424
+ const volume = pxsim.AudioContextManager.isMuted() ? 0 : 1;
2425
+ b.recordingState.recording.volume = volume;
2424
2426
  await b.recordingState.recording.play();
2425
2427
  }
2426
2428
  catch (e) {