diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-11 22:57:38 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-11 22:57:38 -0500 |
commit | 92637808903d58884a829850d68df6ffeef63323 (patch) | |
tree | 7d93f4f11e1819bf2f91347343c150589fb2d19d /opensuse/arts/arts-vorbis-fix.dif | |
parent | 2327306bdb2b4f62381c9a6d7d6ae217a5eda9b1 (diff) | |
parent | 53f2819f9af035a38ca08df1ede9e6cd24aa79ef (diff) | |
download | tde-packaging-92637808903d58884a829850d68df6ffeef63323.tar.gz tde-packaging-92637808903d58884a829850d68df6ffeef63323.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'opensuse/arts/arts-vorbis-fix.dif')
-rw-r--r-- | opensuse/arts/arts-vorbis-fix.dif | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/opensuse/arts/arts-vorbis-fix.dif b/opensuse/arts/arts-vorbis-fix.dif new file mode 100644 index 000000000..70f71496b --- /dev/null +++ b/opensuse/arts/arts-vorbis-fix.dif @@ -0,0 +1,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 */ |