Bug 157751

Summary: wrong length calculation for audio CDs
Product: [Applications] k3b Reporter: Francois Marier <francois>
Component: Audio ProjectAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: After removing the last file
With the last file, the capacity is exceeded

Description Francois Marier 2008-02-12 23:47:13 UTC
Version:           1.0.4 (using KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Philipp Marek <philipp@marek.priv.at> reported this error (through the Debian tracker at http://bugs.debian.org/465430) when K3b calculates the length of audio files:

"Please see the screenshots:
With the last track of 			3:22 I get
			81:16		3:16 too long,
without that		77:53		1:06 free.

Now 77:53 + 3:22 is approximately 81:16; but 3:16 - 3:22 gives -0:06 for me, 
not 1:06. 

As it's defined as a 79:00 medium the "too long" value seems to be wrong - 
it's only 2:16 too much."
Comment 1 Francois Marier 2008-02-12 23:48:36 UTC
Created attachment 23548 [details]
After removing the last file
Comment 2 Francois Marier 2008-02-12 23:49:01 UTC
Created attachment 23549 [details]
With the last file, the capacity is exceeded
Comment 3 Sebastian Trueg 2008-04-02 17:20:48 UTC
This is not a bug. The problem is that the total capacity of the CD/DVD is displayed as a rounded value. I just changed that in trunk, will not backport it to 1.0.x though.