someone wrote:I believe there were patches which allowed CDParanoia to bypass CD drive cache. While I understand that it is very difficult to read code written by other, I would still suggest you to look at the source code of cdparanoia and build on top of it. There are interests in hydrogenaudio forum to continue the project, so you might want to contact these people.
I have actually done this, to a certain degree. The problem I've had is that this code is targeted towards a linux-type environment with certain ioctls that don't exist on OS X. So to get it to run requires a port and the necessary features are not in place in OS X to do the port! A giant circle of sorts. There is a good chance I am missing something, though, since I am very new to IOKit programming. Any help would be appreciated.
someone wrote:Also, consider other options as well. Pyripper/Rubyripper uses the rip and test technique, which I mentioned to you in my bug report. For that, you probably want to use a *less* reliable ripping method and ignore all error reporting.
I've grabbed some code that computes the sha256 of arbitrary memory blocks; I have a prototype that extracts some data from a cd and computes the sha256 of the data. Then it does it over again, and compares the two hashes. The problem I've had with this is (again!) that the cache seems to be supplying the data, which basically invalidates the error checking. D'oh!
someone wrote:Lastly, you can try to rip 4-6mbs at once, which might also allow you to bypass the drive cache.
This would probably work, on drives with smaller caches than the chunk size. This seems a bit 'hackish' to me but I guess if it would work, and nothing else seems to...