This is caused by the transition to openal-soft. openal-soft uses a
different device name syntax than the old implementation, and as a
result sound initialization fails. The attached patch just passes NULL
to alcOpenDevice, which I think is good enough.

-- 
Peter De Wachter
--- a/sound/sound.pyx
+++ b/sound/sound.pyx
@@ -70,7 +70,7 @@
 	cdef int attrs[6]
 	if _SOUND_INITED == 0:
 		
-		_device = alcOpenDevice(PyString_AS_STRING(device_names))
+		_device = alcOpenDevice(NULL)
 		
 		if _device == NULL:
 			raise RuntimeError("Cannot create an OpenAL device!")

Reply via email to