Getting Audacity to work

Dexter Filmore Dexter.Filmore at gmx.de
Fri Jul 20 14:22:06 UTC 2007


On Friday 20 July 2007 15:29:58 Tim M wrote:
> Usually this means some other app is hogging the sound card.
>
> > Open a console and run
> > $ lsof | grep dev
> > and see if something suspicious turns up.
> >
> > If not, strace audacity:
> >
> > $ strace -o aud.trc audacity
> >
> > and after you got the error message, close audacity.
> > Then have a look at that trace, especially "open" calls:
> >
> > $ grep -i open aud.trc | less
> >
> > Search in there for "dev" occurances and see if they look like they
> > should.
> >
> > Do you have more than one sound card? ran asoundconf? is oyur sound
> > hardware
> > capable of hardware mixing?
> >
> > Dex
> >
> > Thank Dex for the information. I just have one sound card running and I
>
> doubt it is capable of hardware mixing. According to KinfoCenter it is an
> Intel 82801DB-ICH4. I ran the two command you suggested. The first came
> back:
>  sudo strace -o aud.trc audacity
> Password:
> umovestr: Input/output error
> Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1108
> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback,
> outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1662
> Expression 'PaAlsaStream_Configure( stream, inputParameters,
> outputParameters, sampleRate, framesPerBuffer, &inputLatency,
> &outputLatency, &hostBufferSizeMode )' failed in
> 'src/hostapi/alsa/pa_linux_alsa.c', line: 1783
>

This is a bit odd..


> This is just a part of the  $ grep -i open aud.trc | less print. As a total
> newbie I have no idea what it is trying to tell me. Maybe it is saying I
> need a better sound card? Tim
>
> open("/dev/dsp", O_RDONLY|O_NONBLOCK)   = 7
> open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = 7
> open("/dev/snd/controlC0", O_RDONLY)    = 7
> open("/usr/share/alsa/alsa.conf", O_RDONLY) = 7
> open("/dev/snd/controlC0", O_RDONLY)    = 7
> open("/dev/snd/controlC0", O_RDWR)      = 7

Looks ok...
What version of Kubuntu, what motherboard?



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

http://www.stop1984.com
http://www.againsttcpa.com




More information about the kubuntu-users mailing list