<html><head><style id="axi-htmleditor-style" type="text/css">p { margin: 0px; }</style></head><body style="font-size: 10pt; font-family: Arial; background-image: none; background-repeat: repeat; background-attachment: fixed;">​Hello,<br><br>I am developing an application that constantly captures audio using ALSA. I would like to pipe audio data from the buffer of the ALSA process to a child process that will use FLAC in order to periodically save the recorded segments in .flac files. Is this possible? How can a program like the encoder found in the example code section (http://flac.cvs.sourceforge.net/viewvc/flac/flac/examples/c/encode/file/main.c?view=log) be modified to periodically encode raw data read from the pipe?<br>Thank you and forgive the naive nature of my question but I'm not a pro.<br><br>Regards,<br>Konstantinos<br></body></html>