Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ This will give us a struct like:
start_msf: (0, 2, 0),
is_audio: true,
}, {
number: 1,
number: 2,
start_lba: 14675,
start_msf: (3, 15, 50),
start_msf: (3, 17, 50),
is_audio: true,
}, ...],
leadout_lba: 221786
Expand Down Expand Up @@ -162,7 +162,7 @@ let image = reader.read_track_with_options(&toc, data_track.number, &options)?;
std::fs::write("disc.iso", &image)?;
```

Mode 1 is fully handled (`Mode1Cooked` for the ready-to-mount user data, `Mode1Raw` for the complete 2352-byte sector). Mode 2 is *detected* (`Mode2Raw`) but its per-sector XA payload extraction is left to the consumer. The full workflow — detect, save, and platform-specific mount commands — is in `examples/save_data_track.rs`.
While audio data is PCM, with non-audio data it is up to you to detect and parse it. It can be a mountable image or it can be something else. Mode 1 is fully handled (`Mode1Cooked` for the ready-to-mount user data, `Mode1Raw` for the complete 2352-byte sector). Mode 2 is *detected* (`Mode2Raw`), but you need to interpet the data by yourself. You can see a full workflow — detect, save, and platform-specific mount commands — in `examples/save_data_track.rs`.

## Reading from a file image

Expand Down
2 changes: 1 addition & 1 deletion src/data_reader/read_speed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub enum ReadSpeed {
/// speed when the `SET CD SPEED` command is executed with the read
/// speed (KB/s) set to 0xFFFF.
///
/// On macOS, this variant requests `SET CD SPEED` with 0xFFFF.
/// On macOS and Windows, this variant requests `SET CD SPEED` with 0xFFFF.
///
/// On Linux, the read speed is selected by the `CDROM_SELECT_SPEED`
/// ioctl with speed = 0. It requests automatic speed selection.
Expand Down
Loading