forked from pool/libmirage
Increase buffer size to 2s
OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=16
This commit is contained in:
parent
140ed4ad57
commit
f73248892b
@ -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 <jengelh@inai.de>
|
||||
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
|
||||
+
|
||||
|
||||
/**********************************************************************\
|
||||
|
Loading…
Reference in New Issue
Block a user