search for: add_vis_pcm

Displaying 3 results from an estimated 3 matches for "add_vis_pcm".

2004 Sep 10
4
xmms-plugin problems
...mples decoded from last reset or for whole life of decoder). So i samples_decoded set to 0 in stream_decoder_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-&...
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...@ -427,7 +427,7 @@ while (speex_ip.output->buffer_free() < (speex_fs->framesize * sizeof(short)) && speex_fs->playing) xmms_usleep(10000); - speex_ip.add_vis_pcm(speex_ip.output->written_time(), FMT_S16_LE, speex_fs->channels, speex_fs->framesize * sizeof(short), &output); + speex_ip.add_vis_pcm(speex_ip.output->written_time(), FMT_S16_NE, speex_fs->channels, speex_fs->framesize * sizeof(short), &output);...
2004 Sep 10
0
xmms-plugin problems
...d and function > stream_decoder_frame_sync_, which compare it against whole length of > stream. ok, I made the 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 i...