24 lines
817 B
Text
24 lines
817 B
Text
$NetBSD: patch-cu,v 1.8 2006/08/02 13:57:23 markd Exp $
|
|
|
|
--- kioslave/audiocd/audiocd.cpp.orig 2006-05-22 18:06:24.000000000 +0000
|
|
+++ kioslave/audiocd/audiocd.cpp
|
|
@@ -26,8 +26,8 @@
|
|
|
|
extern "C"
|
|
{
|
|
- #include <cdda_interface.h>
|
|
- #include <cdda_paranoia.h>
|
|
+ #include <cdparanoia/cdda_interface.h>
|
|
+ #include <cdparanoia/cdda_paranoia.h>
|
|
void paranoiaCallback(long, int);
|
|
|
|
#include <kdemacros.h>
|
|
@@ -857,7 +861,7 @@ void AudioCDProtocol::paranoiaRead(
|
|
* 2) Only increase in size unless the decrease is %5 of last estimate.
|
|
* This prevents continues small changes which is just annoying.
|
|
*/
|
|
- unsigned long end = lastSector - firstSector;
|
|
+ unsigned long end = lastSector - firstSector + 1;
|
|
unsigned long cur = currentSector - firstSector;
|
|
unsigned long estSize = (processed / cur ) * end;
|
|
|