@dawcore/components 0.0.37 → 0.0.38

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/dist/index.mjs CHANGED
@@ -7285,11 +7285,11 @@ var DawEditorElement = class extends LitElement14 {
7285
7285
  this._selectionEndTime = 0;
7286
7286
  this._currentTime = 0;
7287
7287
  // Bounded-playback watermark for the current play(start, end) call
7288
- // (selection/annotation playback). The adapter's own auto-stop at
7289
- // endTime (e.g. native Transport's internal timer) tears down audio but
7290
- // never notifies isPlaying/daw-stop back up — the _startPlayhead rAF
7291
- // loop below is the sole place that detects reaching it, same pattern
7292
- // as the whole-track _duration check.
7288
+ // (selection/annotation playback). Adapters with the engine's
7289
+ // onPlaybackEnded hook (Tone, and native since #636) report their
7290
+ // endTime self-stop through the engine's `stop` event; this watermark is
7291
+ // the fallback check in the _startPlayhead loop for adapters without the
7292
+ // hook, same pattern as the whole-track _duration check.
7293
7293
  this._activePlayEndTime = null;
7294
7294
  this._externalAdapter = null;
7295
7295
  /** True after a disconnect disposed the consumer's adapter via the engine