[Icecast-dev] Ices periods
Adam Sacarny
jazz at cscweb.net
Mon Sep 6 21:21:50 PDT 2004
Hello,
I'm using Gentoo on AMD64 with ALSA and an M-Audio Envy24/ICE1712 sound
card. I would get errors about setting periods whenever I tried to run
ices on ALSA with dsnoop, so I made this patch that turned the periods
error into a warning. Everything has been working fine since then.
The patch is attached, if anyone is interested. Maybe the error can be
safely changed to a warning?
Thanks!
Adam Sacarny
-------------- next part --------------
--- ices-2.0.0/src/im_alsa.c 2004-03-01 15:58:02.000000000 -0500
+++ ices-2.0.0-new/src/im_alsa.c 2004-06-17 19:19:21.000000000 -0500
@@ -256,8 +256,8 @@
}
if ((err = snd_pcm_hw_params_set_periods(s->fd, hwparams, s->periods, 0)) < 0)
{
- LOG_ERROR2("Error setting %u periods: %s", s->periods, snd_strerror(err));
- goto fail;
+ LOG_WARN2("Error setting %u periods: %s", s->periods, snd_strerror(err));
+ /* goto fail; */
}
if ((err = snd_pcm_hw_params(s->fd, hwparams)) < 0)
{
More information about the Icecast-dev
mailing list