jacksonlcrews / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

How to fix Buffer overrun! on ubuntu #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I installed and setup Darkice on my ubuntu 11.04 Server.

Here is a sample of my darkice.cfg:

[general]
duration        = 0         # duration of encoding, in seconds. 0 means forever
bufferSecs      = 5         # size of internal slip buffer, in seconds
reconnect       = yes       # reconnect to the server(s) if disconnected

# this section describes the audio input that will be streamed
[input]
device          = hw:0,0  # OSS DSP soundcard device for the audio input
sampleRate      = 44100     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16        # bits per sample. try 16
channel         = 2        # channels. 1 = mono, 2 = stereo

[icecast2-0]
format          = mp3
bitrateMode     = cbr
bitrate         = 64
quality         = 0.4
server          = hillsdaleonline.com
mountPoint      = high
port            = 8000
password        = XXXXX
name            = Hillsdaleonline.com
description     = Everything That Rocks
url             = http://hillsdaleonline.com
genre           = Main-Stream Rock
public          = yes

##

My ICEcast server is working because It is currently up with a windows 
ENCODER....

I expected that this would put my sound-card input "On-Air" but instead I get 
"Buffer overrun!" over and over and over.......and over

I read on another forum that by modifying "AlsaDspSource.cpp" and telling my 
sound card input DSP to user 5 seconds rather than 1 second would fix this 
issue. However, I cannot for the life of me find this file. Do I need to 
install this bash script as to addition of Darkice... If so what directory 
would I put it in?

Thanks

Original issue reported on code.google.com by kd8...@gmail.com on 19 Dec 2011 at 10:35

GoogleCodeExporter commented 9 years ago
user=buffer my apologies 

Original comment by kd8...@gmail.com on 19 Dec 2011 at 10:43

GoogleCodeExporter commented 9 years ago
It's in <darkice-source-dir>/src/AlsaDspSource.cpp

Previous thread is http://code.google.com/p/darkice/issues/detail?id=54

Original comment by dswhit...@gmail.com on 4 Mar 2012 at 4:28