1

Topic: Debian Lenny(alsa) no sound

I am using Debian Lenny with alsa and i have no sound.
Any ideas on how to get it working?

2 (edited by Lonsas 2008-12-02 19:42:33)

Re: Debian Lenny(alsa) no sound

Same problem here. Running Ubuntu 8.10, but I think it's the same problem. (since both is "testing" and Ubuntu derives from debian ^^)

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in '/home/kma/code/teeworlds/build/work/teeworlds/teeworlds-0.4.3-src/src/engine/external/portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1291
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in '/home/kma/code/teeworlds/build/work/teeworlds/teeworlds-0.4.3-src/src/engine/external/portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1865
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in '/home/kma/code/teeworlds/build/work/teeworlds/teeworlds-0.4.3-src/src/engine/external/portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1986

Update: Portaudio (or is it just alsa?) totally fails when trying to compile 0.4.3. Hundreds of errors in "pa_linux_alsa.c".
The sound works perfectly in 0.5.0, really longing for the release now ... aw tongue

Update on the update: I was just missing the alsa dev files, the compilation works fine now but still the same sound problem...
C'mon! release 0.5.0 ^^ tongue

Oh noes!

3 (edited by void 2008-12-04 12:49:08)

Re: Debian Lenny(alsa) no sound

0.5 will use SDL for audio, so no portaudio there.

Languages shapes the way we think, or don't.

4

Re: Debian Lenny(alsa) no sound

on Ubuntu the sound only works as long as you have no other sound playing.
If you kill PulseAudio though, Alsa will be used as fallback and sound will work perfectly.