I'm trying to read a cd TOC without using the CdGetToc() functions,
so concretely, instead of doing :
that is actually working, i'm doing :unsigned char raw_toc[1024];
CdGetToc(raw_toc);
I then ouptut the buffer content, but it always return blank after the call to CdReadCdda. Ah and yes, I'm using CdReadCdda because I'm reading from a CDDA disc (so CdRead doesn't work with that type of disc).unsigned char raw_toc[2352];
cd_read_mode_t mode;
mode.trycount = 32;
mode.spindlctrl = CdSpinNom;
mode.datapattern = CdSecS2048;
mode.pad = 0;
CdDiskReady(0);
// read first sector at sector 0
CdReadCdda(0, 1, &raw_toc[0], &mode);
CdSync(0);
Anyone has an idea of what's wrong here, and how it could be achieved properly ?
thanks beforehand,
evilo