diff options
author | 2004-05-05 00:34:19 +0000 | |
---|---|---|
committer | 2004-05-05 00:34:19 +0000 | |
commit | f8fb87b8391e0daba08008235dce89ce0d35d1ec (patch) | |
tree | 72c1004cbf149949710154dadefce5e66692a90e /kde-base/arts/files | |
parent | Add ~sparc keyword at user request. (Manifest recommit) (diff) | |
download | gentoo-2-f8fb87b8391e0daba08008235dce89ce0d35d1ec.tar.gz gentoo-2-f8fb87b8391e0daba08008235dce89ce0d35d1ec.tar.bz2 gentoo-2-f8fb87b8391e0daba08008235dce89ce0d35d1ec.zip |
fix problem with arts eating up 100% cpu and staying there (on mp3 and vorbis streams)
Diffstat (limited to 'kde-base/arts/files')
-rw-r--r-- | kde-base/arts/files/arts-vorbis-fix.dif | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kde-base/arts/files/arts-vorbis-fix.dif b/kde-base/arts/files/arts-vorbis-fix.dif new file mode 100644 index 000000000000..344b5a75e75a --- /dev/null +++ b/kde-base/arts/files/arts-vorbis-fix.dif @@ -0,0 +1,23 @@ +--- flow/gsl/gslloader.c-dist 2004-03-31 21:23:54.807890367 +0200 ++++ flow/gsl/gslloader.c 2004-03-31 21:29:51.380200687 +0200 +@@ -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; +--- flow/gsl/gslcommon.c-dist 2004-03-31 21:18:45.247935730 +0200 ++++ flow/gsl/gslcommon.c 2004-03-31 21:29:24.103373480 +0200 +@@ -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 */ |