qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] ide: multi-profile DVD-ROM support v2


From: Paul Brook
Subject: Re: [Qemu-devel] [RFC] ide: multi-profile DVD-ROM support v2
Date: Mon, 7 Jan 2008 15:36:12 +0000
User-agent: KMail/1.9.7

> +/* Some generally useful CD-ROM information */
> +#define CD_MINS                       99 /* max. minutes per CD */
> +#define CD_SECS                       60 /* seconds per minute */
> +#define CD_FRAMES                     75 /* frames per second */
> +#define CD_FRAMESIZE                2048 /* bytes per frame, "cooked" mode
> */ +#define CD_MAX_BYTES           912384000 /* multiply all of the above
> */ +#define CD_MAX_SECTORS           1782000 /* divide by 512 */

The last two should be calculated from the first, not hardcoded values.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]