summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-07-08 14:08:48 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-07-08 14:08:48 +0000
commit184d4aa860486558ca346acf5a7f0d3b9ba20bca (patch)
treef5cbe68b19241a1779c0537c6377a5b74103a6a7
parentd86c6e0b24eabbc96842f6b6134665754cfcc99f (diff)
downloadxine-lib-184d4aa860486558ca346acf5a7f0d3b9ba20bca.tar.gz
xine-lib-184d4aa860486558ca346acf5a7f0d3b9ba20bca.tar.bz2
Set CD audio buffer to 500 frames (patch from Christopher Martin).
This fixes "audible gap" problems; <500 resulted in occasional gaps being audible. (The value is a "reasonable choice": it should cover the problem for the vast majority of people and drives.) CVS patchset: 8096 CVS date: 2006/07/08 14:08:48
-rw-r--r--src/input/input_cdda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c
index 8ccf47992..70642f192 100644
--- a/src/input/input_cdda.c
+++ b/src/input/input_cdda.c
@@ -20,7 +20,7 @@
* Compact Disc Digital Audio (CDDA) Input Plugin
* by Mike Melanson (melanson@pcisys.net)
*
- * $Id: input_cdda.c,v 1.87 2006/07/07 22:17:03 dsalt Exp $
+ * $Id: input_cdda.c,v 1.88 2006/07/08 14:08:48 dsalt Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -111,7 +111,7 @@ typedef struct _cdrom_toc {
*************************************************************************/
#define MAX_TRACKS 99
-#define CACHED_FRAMES 100
+#define CACHED_FRAMES 500
typedef struct {
int start;