one | Title | Function | Function Name[SR] | No |
Sint32 ret; CdcPly plywk, *ply=&plywk; /* Definition of playback parameter variables */ CDC_PLY_STYPE(ply)=CDC_PTYPE_FAD; CDC_PLY_SFAD(ply) =fad; /* Start frame address */ CDC_PLY_ETYPE(ply)=CDC_PTYPE_FAD; CDC_PLY_EFAS(ply) =fasnum; /* Number of frame address sectors */ CDC_PLY_PMODE(ply)=pmode; /* Play mode */ ret = CDC_CdPlay(ply); /* Start playing */
CdcPly plywk, *ply=&plywk; CDC_PLY_STYPE(ply)=CDC_PTYPE_TNO; CDC_PLY_STNO(ply) =tno1; /* Starting track number */ CDC_PLY_SIDX(ply) =x1; /* Starting index number */ CDC_PLY_ETYPE(ply)=CDC_PTYPE_TNO; CDC_PLY_ETNO(ply) =tno2; /* Ending track number */ CDC_PLY_EIDX(ply) =x2; /* Ending index number */ CDC_PLY_PMODE(ply)=pmode; /* Play mode */ ret = CDC_CdPlay(ply);
CdcPly plywk, *ply=&plywk; CDC_PLY_STYPE(ply)=CDC_PTYPE_DFL; /* Starting position is at the beginning of the disk */ CDC_PLY_ETYPE(ply)=CDC_PTYPE_DFL; /* End position is at the end of the disk */ CDC_PLY_PMODE(ply)=CDC_PM_DFL; /* No repeat, move pickup */ ret = CDC_CdPlay(ply);
CdcPly plywk, *ply=&plywk; CDC_PLY_STYPE(ply)=CDC_PTYPE_NOCHG; CDC_PLY_ETYPE(ply)=CDC_PTYPE_NOCHG; CDC_PLY_PMODE(ply)=CDC_PM_NOCHG; ret = CDC_CdPlay(ply);
one | Title | Function | Function Name[SR] | No |
Sint32 ret; CdcPos poswk, *pos=&poswk; /* Definition of positional parameter variable */ CDC_POS_PTYPE(pos)=CDC_PTYPE_FAD; CDC_POS_FAD(pos) =fad; /* Frame address */ ret = CDC_CdSeek(pos); /* Start seek */
CdcPos poswk, *pos= &poswk; CDC_POS_PTYPE(pos)=CDC_PTYPE_TNO; CDC_POS_TNO(pos) =tno; /* Track number */ CDC_POS_IDX(pos) =x; /* Index number */ ret = CDC_CdSeek(pos);
CdcPosposwk, *pos=&poswk; CDC_POS_PTYPE(pos)=CDC_PTYPE_DFL; ret = CDC_CdSeek(pos);
CdcPosposwk, *pos=&poswk; CDC_POS_PTYPE(pos)=CDC_PTYPE_NOCHG; ret = CDC_CdSeek(pos);
one | Title | Function | Function Name[SR] | No |
constant name | explanation |
---|---|
CDC_SCAN_FWD | Fast forward playback (forward scan) |
CDC_SCAN_RVS | Fast rewind playback (reverse scan) |