Logo Search packages:      
Sourcecode: k9copy version File versions  Download package

bool K3bDevice::Device::seek ( unsigned long  lba  )  const

Seek to the specified sector.

Definition at line 236 of file k3bdevice_mmc.cpp.

Referenced by getIndex().

  ScsiCommand cmd( this );
  cmd[0] = MMC_SEEK_10;
  cmd[2] = lba>>24;
  cmd[3] = lba>>16;
  cmd[4] = lba>>8;
  cmd[5] = lba;

  return !cmd.transport();

Generated by  Doxygen 1.6.0   Back to index