On 2010/10/28 13:44, Adrian Knoth <a...@drcomp.erfurt.thur.de> wrote:
> When I compare
> 
>    
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=test.c;att=1;bug=601657
> 
> to the code in jackd1's drivers/firewire/ directory or to ffado's
> tests/streaming/teststreaming3.cpp, I wonder if you might simply miss to
> fill the buffers or to iterate/wait for FFADO.

It is intentionally missing.  It is a timing related bug, it triggers
only under certain circumstances.  It seems this happens when the
application does not fill the buffers quickly enough after
initialization.  I simulated that by blocking the main thread forever
with getchar().  This triggers the crash reliably.

While setting realtime may (or may not) reduce the chances to hit that
bug, it is not a solution.

When libffado2 notices that a buffer hasn't been filled in time, I
would expect it to report that error to the application, instead of
crashing.

Max



_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to