<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">I recognized, that this
      problem appears only when it is paused &lt; 5 seconds between the
      files ... (ALSA).<br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">Am 11.06.2017 um 13:51 schrieb Thomas
      Foerster:<br>
    </div>
    <blockquote cite="mid:b41e788f-7e9b-46da-7414-24431c386b28@web.de"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <font face="Helvetica, Arial, sans-serif">Hello,<br>
        <br>
        I use RtAudio API playing files in a loop. Every new song is
        paused before ~ 2-4 seconds. The files are correctly closed:<br>
        ...<br>
      </font>abortStream();<br>
      closeStream();<br>
      ...<br>
      <br>
      Between the files (i.e. the second file) starts with
      "openStream()" and throws the error message:<br>
      "RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:1,0),
      Device or resource busy."<br>
      <br>
      But everything seems to work ok: Immediately with "startStream()"
      everything is working well. No problem with sound or anything
      else.<br>
      <br>
      What is the problem here? Is the error message the error? Any
      advice, how to check, what is going on there?<br>
      <br>
      Best regards<br>
      Thomas<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Stk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Stk@ccrma.stanford.edu">Stk@ccrma.stanford.edu</a>
<a class="moz-txt-link-freetext" href="https://cm-mail.stanford.edu/mailman/listinfo/stk">https://cm-mail.stanford.edu/mailman/listinfo/stk</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>