[Stk] RtAudio 4.1.2 - snd_pcm_open error (Linux)

Thomas Foerster tjfoerster at web.de
Sun Jun 11 04:51:24 PDT 2017


Hello,

I use RtAudio API playing files in a loop. Every new song is paused 
before ~ 2-4 seconds. The files are correctly closed:
...
abortStream();
closeStream();
...

Between the files (i.e. the second file) starts with "openStream()" and 
throws the error message:
"RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:1,0), 
Device or resource busy."

But everything seems to work ok: Immediately with "startStream()" 
everything is working well. No problem with sound or anything else.

What is the problem here? Is the error message the error? Any advice, 
how to check, what is going on there?

Best regards
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20170611/00fc097a/attachment.html>


More information about the Stk mailing list