Page 1 of 1

ALSA APIs not working properly on Raspberry pi

Posted: Wed Jun 16, 2021 8:00 pm
by joshnane
I am using alsa apis to open sound device "pulse " in Raspberry pi . But opening of sound device(pulse) as root using alsa apis (snd_pcm_open()) is getting failed .But same c code is working when it is run as pi user.Any configuration file is missing in raspberry pi ? Kindly help me on resolving this issue.

Thanks in advance.