Hi, I have to read a large file containing many animation frames from CD/DVDrom and display it into screen as an animation. When reading from hard disk, the strategy of reading a frame into memory, processing, displaying and then reading next frame works good, but when I read from optical device, access time kills the animation.
I use C and winapi OpenFile/ReadFile methods.
How should I read contents of a file stored on an optical device to achieve realtime speed of animation ( I have seen a program that does it even in double speed, for sure it does not buffer the whole file before animation start ) ?