array calcTrackOffsets(
boolean
$use_sudo, string
$device)
|
|
Fakes querying the CD-ROM drive and returns fake TOC based on the device
This class is simply used for testing, it fakes reading an audio CD from your CD-ROM drive and returns different sets of track offsets/lengths based on the device you pass it. You can pass it any one of these devices:
- /dev/acd0
- /dev/acd1
- /dev/acd2
- /dev/acd3
Parameters: