From 8e71caf51bdbfdbbd308a81c341b6d0116b0f13ce01232ae6f01d80273166273 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 17 Mar 2013 23:16:59 +0000 Subject: [PATCH] Increase buffer size to 2s OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=16 --- ...bMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch b/0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch index dca348e..a8b953d 100644 --- a/0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch +++ b/0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch @@ -6,6 +6,10 @@ Subject: [PATCH] libMirage: SNDFILE filter: instead of a single frame, cache audio sector. This way, caching is much more efficient, and consequently reduces CPU load. Fix for bug #60. +Edit by Jan Engelhardt +Increase buffer size even more (see bug #60); +to 2 seconds, to resolve more dropouts. + --- .../filter-sndfile/filter-sndfile-file-filter.c | 43 +++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) @@ -19,7 +23,7 @@ index a92f7ae..78c465f 100644 #define __debug__ "SNDFILE-FileFilter" +/* Number of frames to cache */ -+#define NUM_FRAMES 588 ++#define NUM_FRAMES 588*75*2 + /**********************************************************************\