<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>One of the audio hifi streaming devices used to drop or insert
      samples.  In newer versions they fine tune the audio pll to match
      the stream rate.  Beware Sonos has a patent on the behavior you
      just described.  What is your application?<br>
    </p>
    <div class="moz-cite-prefix">On 2021-10-12 10:35 a.m., Simon Brown
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHW09jd1pcVOZKg6wwCkXt+sjx1Y2KCXJVjU_zHZrOCeUCN09Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div>I'm using the ffmpeg decode engine to receive opus encoded
          audio over IP and push it into my buffer which connects to my
          audio driver (custom firmware, not a PC).  The audio driver
          expects audio at 48kHz and plays it at 48kHz locked to its
          system clock rate.  However, the audio coming in is from a
          different system, so is at 48kHz+/-delta relative to my system
          clock rate.  </div>
        <div><br>
        </div>
        <div>How do PCs cope with this sample rate difference?  Can
          FFMpeg be trained to a system clock rate, so that it can
          resample the audio at the 'correct' rate?  The final problem I
          have is that I want latency to be minimal. </div>
        <div><br>
        </div>
        <div>Any suggestions welcome.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Simon</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="https://ffmpeg.org/mailman/listinfo/libav-user">https://ffmpeg.org/mailman/listinfo/libav-user</a>

To unsubscribe, visit link above, or email
<a class="moz-txt-link-abbreviated" href="mailto:libav-user-request@ffmpeg.org">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".
</pre>
    </blockquote>
  </body>
</html>