src_c/cdrom.c¶
The pygame.cdrompygame module for audio cdrom control extension module. Only available for SDL 1.
Header file: src_c/include/pygame.h
-
type pgCDObject¶
The
pygame.cdrom.CDinstance C struct.
-
PyTypeObject pgCD_Type¶
The
pygame.cdrom.CDPython type.
-
PyObject *pgCD_New(int id)¶
Return a new
pygame.cdrom.CDinstance for CD drive id. On error raise a Python exception and returnNULL.
-
int pgCD_Check(PyObject *x)¶
Return true if x is a
pygame.cdrom.CDinstance. Will return false for a subclass ofCD. This is a macro. No check is made that x is notNULL.
-
int pgCD_AsID(PyObject *x)¶
Return the CD identifier associated with the
pygame.cdrom.CDinstance x. This is a macro. No check is made that x is apygame.cdrom.CDinstance or is notNULL.
Edit on GitHub