ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
2024-06-12 00:00:16 - /home/wei/AITest/AI-Vtuber/utils/audio.py[line:1590] - ERROR: Traceback (most recent call last):
File "/home/wei/AITest/AI-Vtuber/utils/audio.py", line 1413, in only_play_copywriting
Audio.mixer_copywriting.init()
pygame.error: ALSA: Couldn't open audio device: Device or resource busy
2024-06-12 00:00:16 - /home/wei/AITest/AI-Vtuber/utils/audio.py[line:1242] - ERROR: Traceback (most recent call last):
File "/home/wei/AITest/AI-Vtuber/utils/audio.py", line 1240, in only_play_audio
Audio.mixer_normal.init()
pygame.error: ALSA: Couldn't open audio device: Device or resource busy