Displaying 3 results from an estimated 3 matches for "bufferduration".
2004 Aug 06
2
Darkice memory leak
...stjan Gu?ni Bjarnason wrote:
> I was looking more closely on the source for Darkice. I found the code for
> calulating the buffersize somewhat strange. Your is snapshot taken from the
> init function in CastSink.cpp :
>
> int bufferSize = bitRate ? (bitRate * 1024 / 8) * bufferDuration
> : (128 * 1024 / 8) * bufferDuration;
> bufferedSink = socket ? new BufferedSink( socket,
> (bufferSize * 1024 / 8) *
> bufferDuration)
> : 0;
>
> In my case the bufferDurat...
2004 Aug 06
2
Darkice memory leak
Unfortunately I can't reproduce your memory leak reports. For example,
here is the line about my production darkice instance from top:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
27516 root 20 0 3564 3564 1340 S 95.6 1.3 47:06 darkice
<p>this as after approx 50 minutes from start, but the memory load doesn't
change for the whole 4 hours it
2004 Aug 06
0
Darkice memory leak
I was looking more closely on the source for Darkice. I found the code for
calulating the buffersize somewhat strange. Your is snapshot taken from the
init function in CastSink.cpp :
int bufferSize = bitRate ? (bitRate * 1024 / 8) * bufferDuration
: (128 * 1024 / 8) * bufferDuration;
bufferedSink = socket ? new BufferedSink( socket,
(bufferSize * 1024 / 8) *
bufferDuration)
: 0;
In my case the bufferDuration is 10 and bitrate 128. Why is...