audacity sometimes won't start when devices change
Posted: Thu Apr 01, 2010 6:35 pm
Problem: sometimes audacity won't start if the devices change since last time I was using it.
I'm using audacity 1.3.11-beta on Debian lenny/squeeze/sid (mostly squeeze I think).
I have two internal soundcards (motherboard's built-in soundcard and pci-e asus xonar essence stx).
Sometimes I have an external usb preamp connected (art usb dual pre)
Sometimes I'm running jackd, sometimes I'm not.
Sometimes (in a bit erratic way) audacity won't start and I get messages such as this:
In audacity device configuration options I sometimes use alsa as playback device, sometimes I use jack, sometimes the usb device. For recording device it's usually the usb device but I might use different one occasionally.
I usually work around the problem by connecting the usb device if it's not connected before starting audacity. Or I'll start/stop jackd before starting audacity. It has happened sometimes that I have jackd running and I have to stop it to be able to start audacity. Sometimes jackd is not running and I have to start it to be able to start audacity... I think this thing with jack is probably related to .asoundrc configuration, which I sometimes change too. Sometimes I have jack as default device for sound and sometimes I have alsa as default. To add a bit more of awkwardness to my setup the hw number of the soundcards often change between reboots... For example Xonar sometimes is hw0, sometimes it's hw1, and sometimes might even be hw2 (if I have the usb device connected at boot time...)
All this constant changes drive me crazy so I guess they might drive audacity crazy too sometimes and it will refuse to start if it can't find any proper device for playback/recording...
I'm using audacity 1.3.11-beta on Debian lenny/squeeze/sid (mostly squeeze I think).
I have two internal soundcards (motherboard's built-in soundcard and pci-e asus xonar essence stx).
Sometimes I have an external usb preamp connected (art usb dual pre)
Sometimes I'm running jackd, sometimes I'm not.
Sometimes (in a bit erratic way) audacity won't start and I get messages such as this:
Code: Select all
$ audacity
audacity: pcm_plug.c:388: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)' failed.
AbortedI usually work around the problem by connecting the usb device if it's not connected before starting audacity. Or I'll start/stop jackd before starting audacity. It has happened sometimes that I have jackd running and I have to stop it to be able to start audacity. Sometimes jackd is not running and I have to start it to be able to start audacity... I think this thing with jack is probably related to .asoundrc configuration, which I sometimes change too. Sometimes I have jack as default device for sound and sometimes I have alsa as default. To add a bit more of awkwardness to my setup the hw number of the soundcards often change between reboots... For example Xonar sometimes is hw0, sometimes it's hw1, and sometimes might even be hw2 (if I have the usb device connected at boot time...)
All this constant changes drive me crazy so I guess they might drive audacity crazy too sometimes and it will refuse to start if it can't find any proper device for playback/recording...