Hi Peter !

Le jeudi 30 septembre 2010 01:00:00, Peter Retep a écrit :
> I have compiled 1.0.0 beta1, (incl. applied the alsa patch and 
> configured with  --enable-debugging option).
> The assumed overflow might not be the reason: As a result, after 13h 
> 21min liquidsoap shuts down and hangs at terminating.
> Do you have any other idea?

Thank you for your cooperation and patience. I am sorry that my patch is not 
working. The problem, to me, with this issue is that I could patch input.alsa 
to siletly ignore this error, but that would probably just mask a real issue. 
Furthermore, it is not clear to me whether the bug is on our side or not, so 
far...

Thus, you may try David's patch but I am not sure that it is a good idea to 
commit it to our sources until we understand what is going on..

If you have more time to experiment -- and thank you for that, you may want to 
make sure that you are using pure alsa and not pulse's alsa virtual device. 

It is not that easy to see which one you are using. One thing you can do, 
though, is force the device.

First, you should look at the output of:
  aplay -l
This will give you the list of hardware cards detected by ALSA. Here, I have:
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Thus, my hardware card's id in alsa is:
  hw,0.0

Now, you should create a ~/.asoundrc file and put this in it:
pcm.liq-test {
        type plug
        slave { pcm "hw:0,0" }
}

This will define a pcm.liq-test alsa (virtual) device, with all the necessary 
conversions.

Finally, you can test the device with:
  aplay -D pcm:liq-test /path/to/file.wav

If the device works, you can now use input.alsa with it:
  input.alsa(device="pcm.liq-test")

This should make sure that you are using alsa without pulseaudio...

Romain

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to