pxt-microbit 5.1.15 → 5.1.17

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.d.ts CHANGED
@@ -570,6 +570,8 @@ declare namespace pxsim.record {
570
570
  function audioIsPlaying(): boolean;
571
571
  function audioIsRecording(): boolean;
572
572
  function audioIsStopped(): boolean;
573
+ function setSampleRate(rate: number): void;
574
+ function getSampleRate(): number;
573
575
  }
574
576
  declare namespace pxsim {
575
577
  class SerialState {
package/built/sim.js CHANGED
@@ -2309,6 +2309,13 @@ var pxsim;
2309
2309
  return false;
2310
2310
  }
2311
2311
  record_1.audioIsStopped = audioIsStopped;
2312
+ function setSampleRate(rate) {
2313
+ }
2314
+ record_1.setSampleRate = setSampleRate;
2315
+ function getSampleRate() {
2316
+ return 0;
2317
+ }
2318
+ record_1.getSampleRate = getSampleRate;
2312
2319
  })(record = pxsim.record || (pxsim.record = {}));
2313
2320
  })(pxsim || (pxsim = {}));
2314
2321
  var pxsim;