Open GoogleCodeExporter opened 8 years ago
May I suggest a list of error outputs from Darkice so we all know where to look
when things go wrong????
Original comment by gavin.sh...@gmail.com
on 14 Jul 2011 at 9:36
I just started using DarkIce and was seeing the buffer overrun error also. I
tried 3 different machines, and platforms including Fedora 10 and Fedora 13.
After a bit of sniffing around the code, I figured maybe the hw buffer should
be bigger. I increased it to 5 seconds as below, and have seen no overruns in
the first 20+ minutes of operation. The 1 second value may be OK for low
sample rates, but I'm running 44.1 kHz, 16-bit stereo. Might be good to give
access to this param in the config file.
darkice-1.0:
1> diff AlsaDspSource.cpp.orig AlsaDspSource.cpp
85c85
< bufferTime = 1000000; // Do 1s buffering
---
> bufferTime = 5000000; // Do 5 sec buffering
Original comment by d...@opost.com
on 5 Sep 2011 at 4:41
I'm running this "patch" - seems to clear up the error for me. I would like to
see it get changed in the source to 5 sec by default or better yet added as a
config file option.
I running 5 icecast feeds and the current (last weekish) svn co snapshot and
would get the buffer errors non-stop.
Original comment by countryr...@gmail.com
on 11 Apr 2012 at 2:44
Upon further testing this seems to only make the problem worse. I only notice
more errors after darkice has been running some time. Getting more "buffer
overrun" errors and "Exception caught in BufferedSink ... couldn't write all
from encoder to underlying sink" now which I didn't get before. Methinks this
isn't an appropriate fix then.
Original comment by countryr...@gmail.com
on 12 Apr 2012 at 2:44
Original issue reported on code.google.com by
gavin.sh...@gmail.com
on 12 Jul 2011 at 4:18