[Alsa-user] no sound on Intel Sunrise Point-LP HD Audio (rev 21) on Galaxy Book

2018-01-07 Thread Plx Nvl
Hello, Since 4 weeks, I'm trying to make the sound working on my new Galaxy Book, without success, and I cannot find any workaround or even documentation to track the problem. My system doesn't show any error messages, during boot nor playing a WAV file. The only strange thing is at the

Re: [Alsa-user] Problems opening devices

2018-01-07 Thread Robert Bielik
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

Re: [Alsa-user] Problems opening devices

2018-01-07 Thread Clemens Ladisch via Alsa-user
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

Re: [Alsa-user] Problems opening devices

2018-01-07 Thread Robert Bielik
Mind you, this works nicely: > aplay -D default:CARD=MOXF6MOXF8 test.wav So I guess I must be doing something wrong ☹ /R > -Original Message- > From: Robert Bielik [mailto:robert.bie...@dirac.com] > Sent: den 7 januari 2018 10:16 > To: alsa-user@lists.sourceforge.net > Subject:

[Alsa-user] Problems opening devices

2018-01-07 Thread Robert Bielik
Hi all, I am implementing an ALSA backend for an in-house cross-platform C++ audio framework, but I have serious problems doing ALSA. My hardware is a Raspberry Pi 3 running Raspbian Stretch, having an I2S soundcard as the main card. I enumerate the PCM devices with the snd_device_name_hint