Hi Clemens, Hah, you're quite correct, I handle error conditions by throwing exceptions, and I think those cases are indeed induced by opening the device, but not releasing it properly. Using exception safe coding, it now seems to work a lot better 😊 Thanks! /Robert > -----Original Message----- > From: Clemens Ladisch via Alsa-user [mailto:alsa-user@xxxxxxxxxxxxxxxxxxxxx] > Sent: den 7 januari 2018 12:25 > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: Problems opening devices > > Robert Bielik wrote: > > After this I try snd_pcm_open on the IDs, most of which I get -EBUSY. > > Did you actually close the device from the previous try? > > Check in /proc/asound/cardX/pcm0p/sub0/status if the device is opened. > > > Regards, > Clemens > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Alsa-user mailing list > Alsa-user@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/alsa-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user