#163: Delay Operator
-------------------------+--------------------------------------------------
Reporter: MiiJaySung | Owner: toots
Type: Feature | Status: reopened
Priority: 5 | Milestone:
Component: Liquidsoap | Version:
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
-------------------------+--------------------------------------------------
Changes (by MiiJaySung):
* status: closed => reopened
* resolution: fixed =>
Comment:
Thanks, great job. Though there is one little thing I did notice which is
a small gotcha...
It appears that if you don't bind the result of this filter to an output
that it leaks memory. While this is not a major issue, as logically
speaking the stream should be getting feed to an output of some sort.
For instance, take the pointless example:
#!/usr/bin/env liquidsoap
set("log.file.path", "/tmp/audio.log")
set("frame.size",16)
input = input.alsa(bufferize = false)
delayed_input = lag(strict = true, 3.0, input)
Because delayed_input is not getting used, it seems to make the liquidsoap
process eat memory. I assume it's discarding the old data. As soon as
delayed_input is set out to icecast, or back out to alsa, it appears the
leak stops.
If this is something that might not have an easy fix, I think it would be
worth stating in the documentation that this is an issue as the last thing
(non technical) users will want is to find their PC swapping in an
unconditional loop.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/163#comment:6>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac