libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Re: Submission of new mmc function for libcdio


From: Rocky Bernstein
Subject: Re: [Libcdio-devel] Re: Submission of new mmc function for libcdio
Date: Sun, 31 Jan 2010 09:56:55 -0500

On Sun, Jan 31, 2010 at 9:41 AM, Thomas Schmitt <address@hidden> wrote:
...

> > bool  _mmc_get_disc_empty ( const CdIo_t *p_cdio, driver_return_code_t
> *i_status )
>
...

>  So you should rather distinguish three states:
> Blank (=0x00), Appendable/Incomplete (0x01),
> Closed/Finalized (0x02).
> Maybe one should even forward the fourth case:
> Random Access (0x03).
>

So perhaps add mmc_get_disc_write_state() which returns an enumeration type
value to one of the four cases?  Or rather five (or 6) cases adding an
"unknown/error" state.


reply via email to

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