lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] CDROMPLAYTRKIND was broken
On Mon, Dec 20 1999, Peter Samuelson wrote:
> Jens, *,
>
> A fencepost error in drivers/cdrom/cdrom.c was causing CDs to play one
> track less than you asked for (with the CDROMPLAYTRKIND ioctl). Then
> in 2.3.31 or so it broke entirely. The following seems to make it work
> again. NOTE: I only tested ide-cd since that's all I have.

Thanks, applied here.

> + if (entry.cdte_track == tochdr.cdth_trk1 + 1)
> + entry.cdte_track = CDROM_LEADOUT;

This part doesn't make sense, though. Why would you want to select
the lead out?

--
* Jens Axboe <axboe@image.dk>
* Linux CD-ROM Maintainer
* http://www.kernel.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.040 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site