Source

pygame / SDL / cdrom.py

Diff from to

File SDL/cdrom.py

 import SDL.constants
 import SDL.dll
 
+# enum CDstatus
+(CD_TRAYEMPTY,
+    CD_STOPPED,
+    CD_PLAYING,
+    CD_PAUSED) = range(4)
+CD_ERROR = -1
+# end enum CDstatus
+
 class SDL_CDtrack(Structure):
     _fields_ = [('id', c_ubyte),
                 ('type', c_ubyte),