[Asterisk-Dev] chan_alsa broken ?
Conroy, Lawrence (SMTP)
lwc at roke.co.uk
Wed Oct 1 03:45:17 MST 2003
Hi folks,
this is going to seem dumb - apologies in advance, but...
Has anyone managed to get chan_alsa to work with version 0.9.5 or
0.9.6 of alsa?
I've installed alsa on a RH9 box with support for the cheapo card I
have (CMIPCI)
and it works fine, but it bombs with *.
This seems to be an issue on line 426 of chan_alsa.c
I fixed it by putting back in:
err = snd_pcm_sw_params_set_silence_threshold(handle,
swparams, buffer_size/2);
that used to be there rather than the:
err = snd_pcm_sw_params_set_silence_threshold(handle,
swparams, buffer_size);
which seems to have drifted into the * distribution.
Am I missing something, here?
Even with this tweak, I still can't get alsa+card to record sounds in
* (plays out
fine in *, and records/plays using arecord/aplay), but that's a
problem for tomorrow.
all the best,
Lawrence
--
Registered Office: Roke Manor Research Ltd, Siemens House, Oldbury, Bracknell,
Berkshire. RG12 8FZ
The information contained in this e-mail and any attachments is confidential to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.
More information about the asterisk-dev
mailing list