audacity sometimes won't start when devices change

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
steve
Site Admin
Posts: 80682
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity sometimes won't start when devices change

Post by steve » Mon Nov 01, 2010 12:42 am

bgravato wrote:Should I?
If you do, then you can tell me if you get the same Segmentation fault error that I'm currently getting when recording a second track with Overdub enabled using ALSA for playback.

Audacity is working sweetly with Jack, but I'm having major problems with PulseAudio and ALSA.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bgravato
Posts: 2080
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Please select

Re: audacity sometimes won't start when devices change

Post by bgravato » Mon Nov 01, 2010 1:13 am

steve, which wxwidgets version do you recommend? Should the 2.8.10.1 be fine?

steve
Site Admin
Posts: 80682
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: audacity sometimes won't start when devices change

Post by steve » Mon Nov 01, 2010 1:20 am

I'm using 2.8.11.0 from the Ubuntu repository.
I think 2.8.10 should also be fine.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bgravato
Posts: 2080
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Please select

Re: audacity sometimes won't start when devices change

Post by bgravato » Mon Nov 01, 2010 1:57 am

I just compiled the svn version (with wxwidgets 2.8.10.1 from debian's rep.).

I see no different behaviour from 1.3.12-beta in debian's rep.

Regarding my problem it still fails to start when it can't find the playing/recording devices.
BTW, can you help me testing this one too? Please edit your ~/.audacity-data/audacity.cfg file and look for these lines:

Code: Select all

[AudioIO]
PlaybackDevice=JACK Audio Connection Kit: system
RecordingDevice=JACK Audio Connection Kit: system
Change it to:

Code: Select all

[AudioIO]
PlaybackDevice=
RecordingDevice=
Start audacity... Does it start? Or does it crash?

Regarding your problem, it crashes when I select ALSA: default for playback, but that also happens with 1.3.12-beta (with jackd running in both cases and with jackplug configured in asoundrc to handle default pcm playback, if that matters...).

bgravato
Posts: 2080
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Please select

Re: audacity sometimes won't start when devices change

Post by bgravato » Mon Nov 01, 2010 3:24 am

I was just thinking about my last post... and it might contain the answer to my problem...
While testing ALSA on your request I found that audacity crashes when selecting ALSA: default, so what probably is happening is that when it fails to open the device in the config file it will probably default to "ALSA: default" and that causes it to crash...

Edit: just to add that the reason why it crashes on "ALSA: default" is probably due to my .asoundrc config which redirects alsa's pcm to jack through jackplug... At least this is my most recent guess about it...

Locked