discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] WAV sink


From: John Coppens
Subject: Re: [Discuss-gnuradio] WAV sink
Date: Tue, 27 Mar 2012 00:21:50 -0300

On Sun, 25 Mar 2012 20:01:48 -0300
John Coppens <address@hidden> wrote:

> Hi all.
> 
> A small (?) error: The doc for the wav sink says:
> 
> "Read stream from a Microsoft PCM (.wav) file, output floats.
> 
> Values are within [-1;1]. Check gr_make_wavfile_source() for extra
> info."
> 
> This was probably copied for the wav source...
> 

2) The wav sink doesn't seem to close the wav-file correctly. After
writing an 82MB file, the size of the file (bytes 4-7) were 0. Many
programs don't seem to mind this. 'snd' doesn't like it and won't open
the file.

Also, the size of the 'data' block in the wav-file is not set.

Though I have seen the 'closing' routine in the wav code, can it be
that it isn't called?

John




reply via email to

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