<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AudioBuffer duration is wrong"
   href="https://bugs.webkit.org/show_bug.cgi?id=160692">160692</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AudioBuffer duration is wrong
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari Technology Preview
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Web Audio
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>daniele.tassone&#64;cynny.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=285642" name="attach_285642" title="Chrome/Safari Technology Preview">attachment 285642</a> <a href="attachment.cgi?id=285642&amp;action=edit" title="Chrome/Safari Technology Preview">[details]</a></span>
Chrome/Safari Technology Preview

1) Load 1 chunk of my MP3 (I have 1 mp3 split in 5 chunks)
2) Decode the chunk with &quot;decodeAudioData&quot;
3) Now try to read .duration for this chunk

a) On chrome 48.32 seconds
b) On Firefox is 48.32 seconds
b) On Safari Technology Preview is 268.70 seconds

It look like Chrome/Firefox give me the chunk duration instead Safari is giving back the duration of entirely song (268 seconds is exactly the song duration for all chunks).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>