<?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>28748</bug_id>
          
          <creation_ts>2009-08-26 12:37:47 -0700</creation_ts>
          <short_desc>Looping audio is not seamless</short_desc>
          <delta_ts>2022-10-10 05:00:21 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>230553</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Patrick Mueller">pmuellr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>142923</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick Mueller">pmuellr</who>
    <bug_when>2009-08-26 12:37:47 -0700</bug_when>
    <thetext>The audio support in WebKit allows you to specify &quot;looping&quot; when an audio clip is played.  Unfortunately, the looping is not seamless.  There is a sub-second, but very noticeable amount of silence between when the end of the clip is reached, and when the start of the clip starts playing again.  Here&apos;s a sample you can run from the Develop/Show Snippet Editor in Safari:

   &lt;audio
      src=&quot;http://media.freesound.org/data/0/sounds/319__Anton__Osc2_Puls_25PW_220.wav&quot;
      autoplay=&quot;true&quot;
      loop=&quot;true&quot;&gt; 

That sound clip is a simple stable sound which loops fine in Ableton Live (music product application).  I can set it to loop and it&apos;ll play that horrifying tone for as long as I want with no breaks.  When played with the &lt;audio&gt; element, a noticeable delay is heard when looping.

That sound clip is available from the following web site: 

   http://www.freesound.org/samplesViewSingle.php?id=319</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904463</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-10-10 05:00:21 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 230553 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>