<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Audio on Kyle Simpson</title>
    <link>https://mcfelix.me/tags/audio/</link>
    <description>Recent content in Audio on Kyle Simpson</description>
    <generator>Hugo</generator>
    <language>en-GB</language>
    <lastBuildDate>Mon, 27 Apr 2020 00:00:00 +0100</lastBuildDate>
    <atom:link href="https://mcfelix.me/tags/audio/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>(Almost) Lockless Stream Buffering</title>
      <link>https://mcfelix.me/blog/shared-buffers/</link>
      <pubDate>Mon, 27 Apr 2020 00:00:00 +0100</pubDate>
      <guid>https://mcfelix.me/blog/shared-buffers/</guid>
      <description>&lt;p&gt;Recently, I&amp;rsquo;ve been working on retooling the audio processing code for &lt;a href=&#34;https://github.com/serenity-rs/serenity&#34;&gt;serenity&lt;/a&gt;, a Discord bot library.&#xA;Adding features like looping, seeking, and shared resources between calls is made difficult when all input data arrives over pipes from &lt;code&gt;ffmpeg&lt;/code&gt; and similar decoders.&#xA;Due to this, I&amp;rsquo;ve designed a thread-safe shared stream buffer intended to lock only on accessing and storing new data.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
