<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>228221</bug_id>
          
          <creation_ts>2021-07-22 23:08:00 -0700</creation_ts>
          <short_desc>Audible click when audio is looping</short_desc>
          <delta_ts>2021-08-13 04:24:55 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Audio</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=227110</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1778989</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2021-07-22 23:08:00 -0700</bug_when>
    <thetext>Open
https://jyavenard.github.io/htmltests/tests/webaudio/decodeAudioData.html

Select Opus.webm and 48000Hz ; click on play.

96000 frames will be decoded, sample is exactly 2s long.

When the audio loop, you can hear a small click.

Running this on Firefox and Chrome, no click (indicative of a short silence being played) can be heard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1778990</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-07-22 23:08:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/81003667&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779671</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2021-07-26 20:39:00 -0700</bug_when>
    <thetext>I believe this is due to rdar://81002989 ; the number of frames returned is incorrect.

What we hear is a combination of the frames that should have been dropped but weren&apos;t and the frames never returned when they should have been decoded.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784072</commentid>
    <comment_count>3</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2021-08-13 04:24:55 -0700</bug_when>
    <thetext>This got fixed already.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>