array calcTrackOffsets(
boolean
$use_sudo, string
$device)
|
|
Static method to execute 'cdparanoia' and get track offsets from audio CD
This static method uses the 'cdparanoia' binary to query your CD-ROM for an audio CD and get the track offsets and total length of the audio CD in seconds. You need to have 'cdparanoia' installed for this to work, you can download and install it from here: http://www.xiph.org/paranoia/
Parameters: