@waveform-playlist/core 13.0.0-next.7 → 13.0.0-next.8

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
@@ -667,9 +667,6 @@ function appendToAudioBuffer(audioContext, existingBuffer, newSamples, sampleRat
667
667
  const combined = concatenateAudioData([existingData, newSamples]);
668
668
  return createAudioBuffer(audioContext, [combined], sampleRate);
669
669
  }
670
- function calculateDuration(sampleCount, sampleRate) {
671
- return sampleCount / sampleRate;
672
- }
673
670
 
674
671
  // src/utils/latency.ts
675
672
  function audibleLatencySamples(outputLatency, lookAhead, sampleRate) {
@@ -1800,7 +1797,6 @@ export {
1800
1797
  audibleLatencySamples,
1801
1798
  audioTrack,
1802
1799
  buildSpectrogramCanvasId,
1803
- calculateDuration,
1804
1800
  carveClipRange,
1805
1801
  clipDurationTime,
1806
1802
  clipEndTime,