<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>I used OpenAL-Soft and libsndfile in my game.<br>
      I have finished it now.<br>
      I want to encrypt audio files.<br>
      I'm thinking of doing this with AES.<br>
      <br>
      But I don't know how to create new buffers from encrypted files.<br>
      I guess sndfile doesn't have a function to *decode* audio from
      sources other than disk.<br>
      <br>
      I don't know how all the big game companies store their audio
      data. I've done a lot of research on this subject. I could not
      find any resources.<br>
      <br>
      Can you please recommend a method for me?<br>
    </p>
    <div class="moz-signature">-- <br>
      <span style="font-size:22px;font-family:-apple-system,Segoe
        UI,Arial,sans-serif;color:#212529;background-color:#FFFFFF">Sean</span>
      <div style="font-size:19px;font-family:Segoe
        UI,Arial,sans-serif;background-color:#FFFFFF">
        <ul style="list-style:none">
          <li>
            <a style="color:#235ddd;text-decoration:none"
              href="mailto:seantolstoyevski@protonmail.com"
              target="_blank">Email: seantolstoyevski@protonmail.com</a>
          </li>
          <li>
            <a style="color:#235ddd;text-decoration:none"
              href="https://github.com/SeanTolstoyevski/"
              target="_blank">GitHub: SeanTolstoyevski</a>
          </li>
        </ul>
      </div>
      <div
        style="color:#212529;font-size:19px;font-family:-apple-system,Segoe
        UI,Helvetica Neue,Helvetica,sans-serif">
        <p>
          👨‍🦯 I’m a software developer. I coding often Python,
          sometimes Go and rarely (C)/C++.
        </p>
      </div>
    </div>
  </body>
</html>