I'm trying to use the pyglet library to play an mpf file in my program. After a good amount of fooling with it, it now works on my computer, however it does not work on the RP. The error message I get is "releaseALC: 1 device not closed". And the code I'm using is:
Code: Select all
music = pyglet.media.load("pig_sound1.mp3")
music.play()
pyglet.clock.schedule_once(exiter, music.duration)
pyglet.app.run()
Bruce