-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drive constantly revs up and down while reading CD data #33
Comments
Might be related to #23 |
You may be correct. Here's the output of `cd-paranoia -A Report bugs to [email protected] Using cdda library version: 10.2+2.0.0 x86_64-apple-darwin20.1.0 Attempting to determine drive endianness from data....... Attempting to set cdrom to full speed... =================== Checking drive cache/timing behavior =================== Seek/read timing: Analyzing cache behavior... WARNING! PARANOIA MAY NOT BE TRUSTWORTHY WITH THIS DRIVE! The Paranoia library may not model this CDROM drive's cache |
I'm working on a CD player program using libcdio-paranoia to read CD data and stream it to the sound card. I'm running into an issue where, for some discs only, the drive will continually oscillate between revving the disc to high speeds and spinning down, rather than spinning at a consistently low-ish speed. My drive reports that it does support setting its speed, but calls to
cdio_cddap_speed_set
return error code -405. I've tried adding a small sleep to my read thread (vs. reading as fast as possible until my buffer is full, then backing down) to even out the timing of the calls tocdio_paranoia_read_limited
which also doesn't solve the issue. I've also tried setting retries to 0, so that reads will always be sequential.Does anyone have insights into how to ensure the drive will run at a more constant speed?
The text was updated successfully, but these errors were encountered: