discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Change in 3.7 with buffers


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Change in 3.7 with buffers
Date: Tue, 11 Nov 2014 09:08:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 11/11/2014 05:27 AM, Luke Berndt wrote:
> Sorry - I seem to keep running into weird corner cases with my
> program. I am having an issue were I am trying to run multiple graphs
> off the same source, and decoding different channels digital audio to
> wav files. It worked great under 3.6, but with 3.7 they are cutting
> off prematurely.
> 
> I will keep digging deeper, but I just wanted to check first to see
> if this has happened to anyone or if there were any obvious changes
> to blocks. If there anything new and special I might have to do to
> flush buffers in blocks once I tell it to stop recording and close
> the file? I am using wav_file->close();. It is a pretty standard
> graph using quad_demo to a gr_DSD block to decode the digital audio
> and then a wav_file_sink.

This behaviour was not (intentionally) changed. However, calling close()
on a wav file block will not flush any buffers (and never has), it'll
just write the headers to the WAV file. That it's cut off doesn't strike
me as odd, but I'm not sure why it would have worked before. Did you
change buffer sizes?

M



reply via email to

[Prev in Thread] Current Thread [Next in Thread]