diff --git a/README.md b/README.md index 6c02558..2e18a2f 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/src/data_reader/read_speed.rs b/src/data_reader/read_speed.rs index e0033c0..c10f32a 100644 --- a/src/data_reader/read_speed.rs +++ b/src/data_reader/read_speed.rs @@ -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.