Hi,
On Mon, Mar 9, 2009 at 2:39 AM, <[email protected]> wrote:
> this stop liquidsoap and log this :
> 2009/03/09 01:20:23 [input:3] Using ALSA 1.0.16.
> 2009/03/09 01:20:23 [threads:1] Thread "root" failed: Error while setting
> rate: Alsa.Invalid_argument!
This can be because liq tries some setting (in particular the bitrate)
on your card and the card refuses it. ALSA is still a pretty low-level
library, one of the downside is that it forces you to manually adapt
liq and your card.
Here, you should force liquidsoap's internal samplerate to match one
supported by your card. The default is 44100, perhaps your card only
takes 48k? In any case, you can change it using
set("frame.samplerate",48000).
Hopefully you'll get rid of that error. Watch carefully, maybe you'll
get a similar error for another parameter than "rate"; perhaps the
buffer size for example, in which case the liq setting to adjust is
"frame.size".
> input = input.alsa(id="input")
>
> don't stop liquidsoap and stream successfully to Icecast without any sounds :
> 2009/03/09 01:22:40 [input:3] Using ALSA 1.0.16.
> 2009/03/09 01:22:40 [input.alsa:2] No available frame!
> 2009/03/09 01:22:40 [input.alsa:2] Overrun!
> (there's a ton of Overrun! on logs)
With a buffered ALSA input, things are a bit sloppier and you don't
get a crash, but the necessary conversions seem to perturbate
everything. Solving the first problem should help here too. You should
try to get an unbuffered ALSA input running, then you might want to
buffer it anyway, since sources of latency inside liquidsoap (e.g. an
icecast output if there's a network lag) might otherwise affect the
ALSA input.
> input= input.jack(id="input")
>
> this stop liquidsoap and log :
> 2009/03/09 01:18:18 [stderr:3] ERR: jack_wrapper.c::JACK_OpenDevice(838)
> jack server not running?
It's good that you sent a separate mail about that, it's a different
issue. Probably a bug. But right now I don't have any idea about it.
Hope that helps,
--
David
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users