Steve wrote by email: An alternative workaround for bug 276 appears to be to set the output device to "dmix". I've been testing this for the past couple of days, and no freezes when using dmix.
The advantage of dmix over "hw:" is that the vast majority of sound cards do not have hardware mixing, so when the "hw:" device is used, only one application can use it at a time. On the other hand, dmix is a plug-in for ALSA that provides mixing, so multiple applications can use the sound card simultaneously. The downside of dmix compared to the "hw:" device is that not all distros install it by default (though I think that most do). The downside of dmix compared to PulseAudio is that it does not support recording what is playing on the computer. PulseAudio would be the best device to use if it were not for bug 276 (and it is the default for most modern Linux desktops). Do we want to document this somewhere? -- You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to audacity in Ubuntu. Matching subscriptions: Ubuntu Studio Bugs https://bugs.launchpad.net/bugs/1530365 Title: Audacity plays too fast and crashes Status in Audacity: Confirmed Status in audacity package in Ubuntu: New Bug description: I use a Samson «Go mic» for recording audio with Audacity. I connect my earphones to the mic and use it for hearing both my own voice live and the computer sound (I have to select it in Ubuntu's sound output settings). This works fine for a while, and I can record and play back through the mic. Seemingly randomly, however, pressing play or otherwise trying to start playback sometimes makes Audacity skim quickly through the audio, playing garbled sounds which I assume are a fast forward version of my audio. Sometimes, it resumes normal playback before it reaches the end of the file, and everything seems fine. Most often, though, it does not, and pressing the stop button or anything else crashes Audacity. If I restart Audacity and restore the autosaved audio, the problem persists. However, selecting another audio output in Ubuntu's sound settings fixes the problem. I recently upgraded to Ubuntu 15.10, but this has been a problem since at least 15.04. I now use Audacity 2.0.6-2build1. ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: audacity 2.0.6-2build1 ProcVersionSignature: Ubuntu 4.2.0-22.27-generic 4.2.6 Uname: Linux 4.2.0-22-generic i686 NonfreeKernelModules: nvidia AlsaCards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe024000 irq 16 1 [GoMic ]: USB-Audio - Samson GoMic Samson Technologies Samson GoMic at usb-0000:00:12.0-2, full speed ApportVersion: 2.19.1-0ubuntu5 Architecture: i386 CurrentDesktop: Unity Date: Thu Dec 31 16:11:33 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-23 (402 days ago) InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release i386 (20141022.1) SourcePackage: audacity UpgradeStatus: Upgraded to wily on 2015-12-27 (3 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/audacity/+bug/1530365/+subscriptions -- Mailing list: https://launchpad.net/~ubuntustudio-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntustudio-bugs More help : https://help.launchpad.net/ListHelp

