my program uses Pygame to play sounds. I used Noobs before and my program worked fine in Thonny. Now, i switched to Raspbian Full Stretch and now I get the error No available Audio Device. I already added
os.environ['SDL_AUDIODRIVER'] = 'dsp', but nothing changed Could some help maybe ? Thanks!
import pygame import os os.environ['SDL_AUDIODRIVER'] = 'dsp' pygame.init() screen = pygame.display.set_mode((640, 480)) pygame.mixer.init() -----