This is due to the way GNU Radio decides when a flowgraph is done. Since
the audio rate is so low, most of the wavfile fits in the block buffer, the
block sees that there is no more data to load and declares itself done.

There are buffer size controls that might help. On the advanced tab for the
wavfile source, try setting the MAX output buffer to something like 256 and
see if that helps.

On Thu, Nov 9, 2023 at 9:24 PM Elmore's <wa4...@comcast.net> wrote:

> I am attempting to send the output of a Wavefile Source to an Audio Sink
> as a test for inclusion in a larger project.
>
> The flowgraph consists only of the Source block ( 12000 samples/sec), a
> Rational Re-sampler with interpolation of 4 and the Sink (48000
> samples/sec). The wavefile is 15 seconds long and plays properly using
> SMPlayer.
>
> When I run the flowgraph there is only a short burst of audio (measured in
> ms) and the flowgraph terminates.
>
> What is wrong here? I expected the flowgraph to run for 15 secs.
>
> Jim
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Virus-free.www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_3323886625580345282_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

Reply via email to