array calcTrackOffsets(
boolean
$use_sudo, string
$device)
|
|
Static method to obtain the track offsets and length of an audio CD
Returns an array with each array item being the track offset in seconds, and the final item being the total length of the audio disc in seconds. This method uses locates and executes a 'cd-discid' binary on your computer to calculate the track offsets. You need to have 'cd-discid' installed and in your PATH for this to work. You can get 'cd-discid' here: http://lly.org/~rcw/cd-discid/
Parameters: