[ecasound] sample count of zero for LADSPA 'run' function

From: Sergei Steshenko <sergstesh@email-addr-hidden>
Date: Mon Aug 25 2008 - 18:48:58 EEST

Hello All,

I've just debugged a "Floating point exception" which actually is an
integer exception.

In my plugins I'm checking whether block size is a multiple of sample_count:

if((BLOCK_SIZE % sample_count) != 0)

, so the very last call to LADSPA plugin 'run' function has

sample_count == 0

and I get that "Floating point exception".

Interestingly enough, if output of ecasound goes to file and not to ALSA,
there is no such a problem.

Can sample_count == 0 be avoided altogether ?



This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Ecasound-list mailing list
Received on Mon Aug 25 20:15:03 2008

This archive was generated by hypermail 2.1.8 : Mon Aug 25 2008 - 20:15:04 EEST