From a4140e8840b6565451ad44633b502f270cc0804d Mon Sep 17 00:00:00 2001 From: Gabriel Brito Date: Thu, 6 Aug 2026 09:32:59 -0700 Subject: [PATCH] Removing algorithm for buffer length calculation --- index.bs | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/index.bs b/index.bs index 3d39bbaf3..a08504ec1 100644 --- a/index.bs +++ b/index.bs @@ -2708,12 +2708,6 @@ Methods -
  • Let bufferLength be a number initialized to the - result of - - calculating the buffer length for offline rendering given - the requested chunkSize. -
  • If bufferLength is not a multiple of render quantum size, round it up to the next multiple of the render quantum size. @@ -2744,31 +2738,6 @@ Methods -
    - To calculate the buffer length for offline rendering - given a requested chunkSize, the following steps - MUST be performed on the control thread: -
      -
    1. If the {{OfflineAudioContext}}'s - {{OfflineAudioContext/length}} is null: -
        -
      1. If chunkSize is null, return - the render quantum size. -
      2. Otherwise, return chunkSize. -
      -
    2. Otherwise, if the {{OfflineAudioContext}}'s - {{OfflineAudioContext/length}} is not null: -
        -
      1. If chunkSize is not null and - {{[[committed frames]]}} + chunkSize is less than - the {{OfflineAudioContext}}'s - {{OfflineAudioContext/length}}, return chunkSize. -
      2. Otherwise, return - {{OfflineAudioContext/length}} - {{[[committed frames]]}}. -
      -
    -
    -
    To begin offline rendering for an {{AudioBuffer}} buffer, the following steps MUST happen on a rendering