Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

音频mixer初始化增加异常捕获,针对声卡异常情况下给予提示,以不影响播放逻辑运行 #876

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

Ikaros-521
Copy link
Owner

image

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

@Ikaros-521 Ikaros-521 merged commit 43bf63a into main Jun 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant