#884099 toc2cue: does not preserve PRE_EMPHASIS flag

Package:
cdrdao
Source:
cdrdao
Description:
records CDs in Disk-At-Once (DAO) mode
Submitter:
Jonathan Dowland
Date:
2017-12-11 12:30:04 UTC
Severity:
normal
#884099#5
Date:
2017-12-11 12:27:16 UTC
From:
To:
I ripped a CD via cdrdao that contains audio tracks that have the PRE_EMPHASIS
flag set.  This is visible in the resulting .toc file, e.g.

	...
	// Track 2
	TRACK AUDIO
	NO COPY
	PRE_EMPHASIS
	TWO_CHANNEL_AUDIO
	SILENCE 00:02:00
	FILE "quake_v1.01.bin" #33964032 0 05:08:29
	START 00:02:00
	...

However converting the toc to a CUE file with toc2cue (from the cdrdao package)
and the flag information is lost

	...
	  TRACK 02 AUDIO
		PREGAP 00:02:00
		INDEX 01 03:41:09
	  TRACK 03 AUDIO
	...

(the correct syntax would be a line "FLAGS PRE")