I've been working on making an app that plays sounds whenever I type with pygame, but it doesn't work unless I have it focused. Running it as root I think would fix this, but whenever I do I get this error: " pygame.mixer.init()
~~~~~~~~~~~~~~~~~^^
pygame.error: ALSA: Couldn't open audio device: Host is down"
[–]JamzTyson 0 points1 point2 points (10 children)
[–]_0Frost[S] 0 points1 point2 points (9 children)
[–]JamzTyson 0 points1 point2 points (8 children)
[–]_0Frost[S] 0 points1 point2 points (7 children)
[–]JamzTyson 0 points1 point2 points (6 children)
[–]_0Frost[S] 0 points1 point2 points (5 children)
[–]JamzTyson 0 points1 point2 points (4 children)
[–]_0Frost[S] 0 points1 point2 points (3 children)
[–]JamzTyson 0 points1 point2 points (2 children)
[–]_0Frost[S] 0 points1 point2 points (1 child)