Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def get_disc_type():
#	cd_open()
	ret = ioctl(cd.cd, CDROM_DISC_STATUS)
#	cd_close()
	return ret
        


src/a/c/AccordionMega-HEAD/rtmidi/pkaudio/pk/stereo/ripper.py   AccordionMega(Download)
            self.disc_id = None
            return
        elif CDLow.get_disc_type() != CDROM.CDS_AUDIO:
            return
 

src/a/c/AccordionMega-HEAD/rtmidi/pkaudio/pk/stereo/cdnotify.py   AccordionMega(Download)
 
        elif self._status == CDROM.CDS_DISC_OK:
            disc_type = CDLow.get_disc_type()
            if disc_type == CDROM.CDS_AUDIO:
                self.emit(SIGNAL('audioInserted()'))