Clarified meaning of Character Position byte of burn_disc_get_leadin_text()
This commit is contained in:
parent
8576e41999
commit
d13677705e
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.12.02.171710"
|
#define Cdrskin_timestamP "2011.12.02.204513"
|
||||||
|
@ -1317,16 +1317,10 @@ int burn_disc_get_cd_info(struct burn_drive *d, char disc_type[80],
|
|||||||
It consists of three bit fields:
|
It consists of three bit fields:
|
||||||
bit7 = Double Bytes Character Code (0= single byte characters)
|
bit7 = Double Bytes Character Code (0= single byte characters)
|
||||||
bit4-6 = Block Number (groups text packs in language blocks)
|
bit4-6 = Block Number (groups text packs in language blocks)
|
||||||
bit0-3 = Character position
|
bit0-3 = Character position. Either the number of characters which
|
||||||
(Still obscure. MMC-3 Appendix J says:
|
the current text inherited from the previous pack, or
|
||||||
"It is the number of character in the strings that belongs
|
15 if the current text started before the previous pack.
|
||||||
to the Text Data Field in the previous Pack. The Character
|
The two CRC bytes are optional. Polynomial is x^16 + x^12 + x^5 + 1.
|
||||||
Position starts from 0 to 15 and 15 indicates that the
|
|
||||||
first character belongs to the one before the previous
|
|
||||||
Pack. When the character code is double byte code, a set
|
|
||||||
of 2 bytes in the Text Data Field is counted at one."
|
|
||||||
)
|
|
||||||
The CRC bytes are optional. Polynomial is x^16 + x^12 + x^5 + 1.
|
|
||||||
|
|
||||||
@param d The drive to query.
|
@param d The drive to query.
|
||||||
@param text_packs Will point to an allocated memory buffer with CD-TEXT.
|
@param text_packs Will point to an allocated memory buffer with CD-TEXT.
|
||||||
|
Loading…
Reference in New Issue
Block a user