On Wed, Jun 22, 2005 at 05:55:48PM -0400, cswiger wrote: > First, the FM gui has new creature comforts - programmable station > buttons and ability to save the audio to a file (can be piped to > lame for mp3 output). > > http://webpages.charter.net/cswiger/spectrum_gauges/ > > Not a show stopper but I noticed that closing, then trying to open an > output file a 2nd time fails with "gr_file_descriptor_sink: Bad file > descriptor". I have to exit and restart the application to record another > file.
You want to create a new file_sink on each open. I suggest using gr.file_sink instead of gr.file_descriptor_sink in this situation. Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio