Now I think I know why there are overruns and underruns: there is
something wrong with the latencies.

The attached patch disables the special handling of the playthrough case
and uses the user-settable latency for both capture and playback. The
patch also contains a few diagnostic output statements that print out
the suggested latencies (ignored) and the latency set in the
preferences, which are the ones used.

On my machine, the patch produces the following console output:
default playback latency: 0,011610
suggested playback latency: 0,100000
default capture latency: 0,046440
suggested capture latency: 0,100000

This patch solves the problem for me, but of course I have only tested
on my platform (64-bit Linux).

** Attachment added: "355846-patch2.txt"
   
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/355846/+attachment/1757850/+files/355846-patch2.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/355846

Title:
  audacity stops recording after about a second when using software play-through

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to