input_cdda access

View: New views
1 Messages — Rating Filter:   Alert me  

input_cdda access

by ludovic pollet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

My dvd-rom doesn't respond to any speed setting ioctl... Trying to play audio
CD using xine always results in motor turning on at full speed...

I discovered few interesting thing in input_cdda.c
 - when clicking on "CD" in the UI, xine reads the first ~8s of each track
 - data is read by chunck of 500 frames (CACHED_FRAMES) in a row, which keeps
my motor on.

I lowered CACHED_FRAMES in input_cdda.c to 30 blocks (0.5s) and my dvd-drive
motor now keeps quiet !

Is there a reason for such a high value for CACHED_FRAMES (500) ? Any
objection to making it accessible via configuration ?

Ludovic


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
xine-devel mailing list
xine-devel@...
https://lists.sourceforge.net/lists/listinfo/xine-devel