View Single Post
  #20 (permalink)  
Old May 23rd 15, 09:48 AM posted to uk.comp.os.linux,uk.rec.audio
Jim Lesurf[_2_]
external usenet poster
 
Posts: 2,668
Default Flac and Audio CD Health Checks

In article , Nigel Wade
wrote:
The other side of the problem is that I need a file *name* to get flac
to save its results to a file. Then have that name to get a handle to
read the contents (and delete the file afterwards) in my main program.


Do you really need to do it this way? It seems rather inefficient. I
would prefer to make use of pipes, and get flac to stream the output to
stdout and the program to read it from stdin.


It depends on the meaning of "need". I've done it this way because its the
way I've managed (so far) to understand well enough to get working. But I
appreciate it is messy and clumsy. Afraid I'm not a very good programmer,
so just go for what gives me the required coconut.

I've been aware of pipes, but have no idea how I might actually use them in
this situation. If I can understand it, I may change to it in future. cf
my reply to Martin on this...

Jim

--
Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc http://www.audiomisc.co.uk/index.html