[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] file open once works - second file fails w/ bad d
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] file open once works - second file fails w/ bad descr |
Date: |
Thu, 23 Jun 2005 14:04:13 -0700 |
User-agent: |
Mutt/1.5.6i |
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