summaryrefslogtreecommitdiffstats
path: root/opensuse/core/arts/arts-vorbis-fix.dif
blob: 70f71496b7cda602195fe274bdb7fd2677bf6c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: flow/gsl/gslloader.c
===================================================================
--- flow/gsl/gslloader.c.orig
+++ flow/gsl/gslloader.c
@@ -313,7 +313,8 @@ gsl_wave_chunk_create (GslWaveDsc   *wav
 
   /* FIXME: we essentially create a dcache for each wchunk here ;( */
 
-  dcache = gsl_data_cache_from_dhandle (dhandle, gsl_get_config ()->wave_chunk_padding * wave_dsc->n_channels);
+  /* dcache = gsl_data_cache_from_dhandle (dhandle, gsl_get_config ()->wave_chunk_padding * wave_dsc->n_channels); */
+  dcache = gsl_data_cache_from_dhandle (dhandle, 0); /* FIXME: padding is bad for vorbis... */
   gsl_data_handle_unref (dhandle);
   if (!dcache)
     return NULL;
Index: flow/gsl/gslcommon.c
===================================================================
--- flow/gsl/gslcommon.c.orig
+++ flow/gsl/gslcommon.c
@@ -1585,7 +1585,7 @@ gsl_init (const GslConfigValue values[],
     1,				/* n_processors */
     2,				/* wave_chunk_padding */
     4,				/* wave_chunk_big_pad */
-    512,			/* dcache_block_size */
+    8192,			/* dcache_block_size */
     1024 * 1024,		/* dcache_cache_memory */
     69,				/* midi_kammer_note */
     440,			/* kammer_freq */