Ask coding questions

← Back to all posts
(SOLVED) [Pygame][Audio Mixer] "No available audio device"
ETHANSIAO (33)

Hello,

I've been trying to get my pygame program to play a bit of music, but I've come across an obstacle that I don't know how to get around. Whenever I attempt to run the program, I receive the following:

"pygame.error: No available audio device"

What exactly does that mean? Is there a way that I can get around it?

Thank you for your time,

E.S.

Answered by mat1 (2491) [earned 5 cycles]
View Answer
Commentshotnewtop
mat1 (2491)

Unfortunately, Repl.it currently does not allow you to play sounds in repls. If you would like to get this feature added, post it in the feedback board.
Please upvote my comment if it was helpful or useful. Thanks!

ETHANSIAO (33)

@mat1 Got it, thank you so much for the help!

21natzil (741)

Sorry, but audio players of any kind are not support. Don't fret however, this is something that's planned and will be included eventually.

ETHANSIAO (33)

@21natzil Glad to hear, thanks for the help!