Re: mbeq_119700 + mplayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 05 Jan 2007 10:49:11 +0100Sebastian Schäfer <schaefer@xxxxxxx> wrote:
[deleted]> Ah, of course playback is fine when I do not use the mbeq plugin.> Behaviour stays the same when I use another LADSPA plugin.> 
How "heavy" is the other than mbeq plugin ?
mbeq_119700, especially when it's configured the way you did it/need it,may be considered heavy, that's because, if ALSA buffer length is smallerthan FFT length (that's a typical case), at the moment FFT buffers arefilled FFT is launched for all 6 channels in you case.
I mean, if, for example, ALSA buffer length is 1024, and FFT lengthis 8192, then 7 of 8 ALSA buffers the plugin is ding practically nothing,just copies data into input FFT fifos, and after the 8-th ALSA bufferFFT is lauched for every of the 6 channels.
So, the CPU load is quite uneven.
...
Well, the above is almost true - due to oversampling FFT is launchedrather every 4 ALSA buffers, not every 8, which means twice the load,but more evenly distributed, but still, uneven.
If you can, try to play with ALSA buffers at system level - forthe case of 8192 length FFT I'd suggest 4096 samples long ALSA buffers,so FFT will be performed upon arrival of every ALSA buffer, and CPUload will be even.
And I do not know how to change ALSA buffers length at systemlevel - to tweak asound.conf ?
Or to create .asoundrc in your home dir and set buffer lengths in it ?

> Best regards,> Sebastian> 

--Sergei.
P.S. Since a bug was found and fixed, I'm thinking about a followuprelease, and the example of mbeq_119700 has just proved yet anothertime that developers can not be trusted testers when it comes to testingtheir own stuff, so, will you help me testing the next release ?
I think that the Perl part you've apparently used to configure theplugin will remain the same - the pieces intended for configuration,I mean. So it will hopefully won't take long to configure and test.

-- Visit my http://appsfromscratch.berlios.de/ open source project.
-------------------------------------------------------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys - and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxxxxxx://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux