search for: 512samples

Displaying 2 results from an estimated 2 matches for "512samples".

2004 Sep 10
4
xmms-plugin problems
...coder_reset. Against stream_decoder.c 205a206,207 > if (decoder->guts) > decoder->guts->samples_decoded = 0; Second problem: Visual plugins are slow. It's caused by flac_ip.add_vis_pcm, it gets too many samples (4.5Ksamples) at one call. Solution is in calling this with only 512samples. Against plugin.c 301,305c301,312 < flac_ip.add_vis_pcm(flac_ip.output->written_time(), file_info_.sample_format, file_info_.channels, bytes, reservoir_); < while(flac_ip.output->buffer_free() < (int)bytes && file_info_.is_playing && file_info_.seek_to_in_sec...
2004 Sep 10
0
xmms-plugin problems
...fix, plus there was another place that variable was being set incorrectly. both fixes are in CVS now. > Second problem: Visual plugins are slow. It's caused by > flac_ip.add_vis_pcm, > it gets too many samples (4.5Ksamples) at one call. Solution is in > calling > this with only 512samples. Against plugin.c > actually, there are two versions of the playback loop, controlled by a #define currently. can you try compiling with RESERVOIR_TEST defined and see if that is better? the reason I ask has to do with my next question... is 512 a magic number or it is just smaller and hence...