How to solve the SDK exclusive sound card problem

@@ chunsiong.zoom There is only one speaker on the device. When other functions of the App use this speaker, I will report “ALSA lib PCm_dmixi. c:1089:(snd_pcm_dmix_open) unable to open slave” when initializing the SDK.

@Wang , are you able to create another virtual speaker using pulselib and alsa?

  • I have no experience in this field. Do you have any good technical information to share with me?

@Wang ,

Could you try running this script on your development machine (assuming it is Linux or WSL2 based)

Thank you very much for your help! When I run “pulseaudio -D --exit-idle-time=-1” it tells me “This program is not intended to be run as root”. Our software itself requires root access. After executing this script, my system was unable to play sound, nor was it able to obtain speaker and microphone devices.