Commit Graph

57 Commits

Author SHA1 Message Date
e4f55d3b3c Allocate SENSE buffer only once. 2025-08-22 19:57:09 +01:00
05906c8818 Remove separate dump log, use central log facility. 2025-08-19 15:17:19 +01:00
5863664dbf Update copyright year. 2024-12-19 10:45:18 +00:00
f7ca79b09e Update copyright year. 2024-05-01 04:17:32 +01:00
e46d21bde6 General refactor and cleanup. 2024-05-01 04:05:22 +01:00
97827d9bfe [Dumping] [CompactDisc] When trimming or retrying using scrambled mode, fix offset and check validity of data sectors because drive can report no error but return errored data. Fixes #390 2024-04-28 20:28:48 +01:00
7363a5d9c5 Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted.
This is now done with Rider-stable.
2023-10-04 17:36:20 +01:00
af659f3fcb [Aaru.Core] Reformat and cleanup. 2023-10-03 22:57:50 +01:00
09a5c00891 Use a more precise mechanism to measure elapsed times in operations. 2023-09-26 20:16:24 +01:00
25c5cbaae5 Use humanizer to show seconds. 2023-09-26 03:39:10 +01:00
cfbcde35f5 Use Aaru Metadata instead of CICM Metadata. 2022-12-15 22:21:37 +00:00
b69dad87b2 [CompactDisc dumping] Correct offset fixing when trimming or re-reading errored audio sectors. Fixes #792 2022-12-14 02:24:02 +00:00
27a5165871 Implement IMediaGraph in Spiral. 2022-12-05 20:11:59 +00:00
14ab866e4a Add an interface for classes able to draw media status, like the spiral. 2022-12-05 19:43:48 +00:00
805ebd4b42 Update copyright year. 2022-12-03 16:07:17 +00:00
938b40f774 Move all localizable strings from Aaru.Core project to resources. 2022-11-23 16:06:46 +00:00
2f9b7fe0a1 General code cleanup and style refactor. 2022-11-15 15:58:48 +00:00
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
fca57318f5 Convert to switch expression. 2022-11-13 19:59:30 +00:00
f9f97c02c5 Mark newly discovered pregap sectors for retry. Fixes incorrect data on some track type changes. 2022-04-09 20:27:05 +01:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
4de10d0c34 Clarify interface usage. 2021-12-28 03:20:51 +00:00
cd41c8e59a Simplify some struct type names. 2021-09-14 21:18:28 +01:00
7c384310f0 When pregap changes track start during trimming, ensure it is re-read. 2021-09-06 00:44:37 +01:00
82934f0c3d Do not try to read as audio data sectors with medium error. 2021-09-05 06:48:10 +01:00
1af36c75bd Try to reduce workaround some firmware bug in some audio CDs with hidden audio for #605. 2021-08-03 21:14:59 +01:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
6877589cc9 General code clean-up, refactor and commenting. 2020-11-11 04:19:18 +00:00
6c58083c64 Change method of reading subchannels in Plextor drives, fixes #395 2020-11-06 00:26:23 +00:00
f92f122443 Change how pregap starting with 0 is calculated dumping vs converting. Fixes #375 2020-11-04 23:55:24 +00:00
c104a51d5a Add support for dumping CDs to images that only support cooked user data. Fixes #378 2020-10-23 04:01:55 +01:00
b0f01f53f0 Handle discs that have pregap ending in LBA 1 instead of ending in LBA 0. 2020-07-18 20:43:37 +01:00
439f685ce4 Trim as audio when we know it is an audio sector, fixes some firmware bugs in audio pregap after a data track. 2020-07-14 15:04:20 +01:00
f1244d543c Move subchannel generation and fixing to a separate class. 2020-07-14 01:06:23 +01:00
720bb1df6e Save error log on dump. 2020-07-13 18:54:41 +01:00
1f52389048 Optimize speed when reading subchannels. 2020-06-14 18:42:33 +01:00
87dc8029b5 Allow to retry bad subchannel sectors. 2020-06-13 19:15:27 +01:00
5c6b0e70c0 Update the pregap while dumping if found to be bigger than known one. 2020-05-05 23:25:15 +01:00
9e72a69ba9 Use subchannel, if available, to set MCN. 2020-05-05 21:08:41 +01:00
fb947e3d5c Use subchannel, if available, to set ISRC. 2020-05-05 20:26:18 +01:00
de890b3461 Always use raw subchannel internally. 2020-05-05 15:46:32 +01:00
143f57342a Read with subchannel even if not supported by image or not asked by user. 2020-05-05 13:28:34 +01:00
d0c052c347 Write subchannel log when dumping Compact Disc media. 2020-04-27 02:29:49 +01:00
236c70fc55 Fix warnings. 2020-03-12 00:29:39 +00:00
b55470541a Complete file headers. 2020-03-11 21:57:43 +00:00
236f38e911 Adjust language to be more specific and less alarmist. 2020-03-11 16:01:33 +00:00
7bc33f663e Fix dumping correct data when reading subchannels in Plextor drives. 2020-03-07 19:38:41 +00:00