[Stk] RtAudio 4.1.2 - snd_pcm_open error (Linux)
Thomas Foerster
tjfoerster at web.de
Sun Jun 11 06:48:20 PDT 2017
I recognized, that this problem appears only when it is paused < 5
seconds between the files ... (ALSA).
Am 11.06.2017 um 13:51 schrieb Thomas Foerster:
> 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
>
>
> _______________________________________________
> Stk mailing list
> Stk at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/stk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/stk/attachments/20170611/1d9b0ef6/attachment.html>
More information about the Stk
mailing list