Hi,
I can't choose new devices with Audacity. When I try, Audacity
immediately crashes. I think I need to change my device because
I don't get any input signal when I record, nor does playback
make any sound. I'd prefer a different behavior, and I'm hoping
that someone here has helpful suggestions.
For what it's worth, I'm running on hardware that worked just
fine with Mandriva 2007.0. I say that as I think I can rule out
hardware troubles.
I very recently got Amarok's playback to make sound on this
system once I disabled Pulse Audio on the sound cards, and
selected the Ensoniq AudioPCI ENS1371 card connected to my
computer speakers.
/proc/asound/cards contains:
0 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61
1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xa800, irq 19
2 [M1010 ]: ICE1712 - M Audio Delta 1010
M Audio Delta 1010 at 0xa400, irq 18
3 [M1010_1 ]: ICE1712 - M Audio Delta 1010
M Audio Delta 1010 at 0x9400, irq 17
I want to use device #1, the ENS1371, in the above list. When
I bring up the the Audacity Preferences "Devices" configuration
dialog the default settings are an OSS host with /dev/dsp as the
playback device and /dev/dsp1 as the recording device. In the
"Interface" section of the dialog there's a line saying:
Using: PortAudio V19-devel (built Oct 20 2009 10:02:01)
The dialog provices me with thes choices.
OSS
playback
/dev/dsp
/dev/dsp3
recording
/dev/dsp1
/dev/dsp3
ALSA
playback
pcsp: pcsp (hw1:0,0)
Ensoniq AudioPCI: ES1371 DAC1 (hw1:1,1)
M Audio Delta 1010: ICE1721 multi (hw3:0)
front
default
dmix
recording
Ensoniq AudioPCI: ES1371 DAC2/ADC (hw1:1,0)
M Audio Delta 1010: ICE1721 multi (hw3:0)
default
If I alter the playback or recording devices, then simpling
clicking on "OK" for the dialog is enough to cause Audacity to
crash.
After trying Audacity, I started to try with Ardour, then ran
out of time. I left QJackCtl running, which means that today I
get additional choices in Audacity as I write this help request.
Those choices are:
JACK Audio Connection Kit
recording
alsa_pcm
system
playback
alsa_pcm
system
It turns out that I _CAN_ choose the JACK default alsa_pcm
devices and click OK and have Audacity continue to run. I don't
know if it plays or records as I'm far from the computer now.
Maybe the answer is to alter the default card of my three cards
to be the Ensoniq AudioPCI ES1371 card. I remember doing this
kind of thing before in /etc/modprobe.conf to get the modules to
load in the order of my preference. Would anyone recommend for
or against that?
When Audacity starts, it complains with these lines:
Expression '*idev = open( idevName, flags )' \
failed in 'src/hostapi/oss/pa_unix_oss.c', line: 811
Expression 'OpenDevices( idevName, odevName, &idev, &odev )' \
failed in 'src/hostapi/oss/pa_unix_oss.c', line: 857
Expression 'PaOssStream_Initialize( stream, inputParameters, \
outputParameters, streamCallback, userData, streamFlags, \
ossHostApi )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1234
When Audacity crashes, it complains with this line:
audacity: pcm_params.c:2348: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
Any suggetions? Anybody?
Thanks....
--
Kevin
Show replies by date
Before I get lots of comments about making sure I've enabled
recording, unmuted and adjusted the gain of my input and output
using a mixer, I HAVE done that.
Thanks again...
--
Kevin
The problem is solved.
I reenabled PulseAudio.
I changed my /etc/modprobe.conf from this
alias sound-slot-0 snd_ice1712
alias sound-slot-1 snd_ice1712
alias sound-slot-2 snd_ens1371
to this
alias sound-slot-0 snd_ens1371
alias sound-slot-1 snd_ice1712
alias sound-slot-2 snd_ice1712
Then I rebooted. After the machine was back up, Amarok worked
with PulseAudio enabled. Audacity 1.3.11 shows only ALSA in its
host type list. For playback I chose the ENS1371 card, which is
now my default. For recording, I could only choose "default", so
that's what I chose. Edits in that dialog do not cause crashing
when okayed. Audacity records just fine now. What's more, when
I do a mic check for of Audacity's input, I hear the output on
my speakers. My ENS1371 card has never been that full duplex
before. Maybe I should credit PulseAudio with that behavior?
Anyway, everything works and I believe the main cause of that
was reordering my sound devices in /etc/modprobe.conf which now
agrees with the order I had before I upgraded my distribution
from Mandriva 2007.0 to Mandriva 2010.0.
I hope this info helps the next person to face a similar
challenge.
Cheerio....
--
Kevin