pipebuf: UNIX pipe realtime buffering
You can buffer realtime data such as audio stream by inserting this program
with traditional "UNIX filter" behaviour. It reads as fast as possible into
its cache and also in the same time writes as fast as possible to the output.
Summary | UNIX pipe realtime buffering |
License | Public Domain |
State | Ready to use. Maintained. |
Download | pipebuf.c (9.4KB) |
Programming language | C |
Progarm is implemented as two processes (no threads - no pthread libraries
needed, only IPC communication used). Features custom buffer sizes, prefill
(start writing of the first byte only after the WHOLE buffer has beel filled
up) and warning messages when buffer is getting emptied.
EOF