discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Audio sink does not throttle sample flow


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Audio sink does not throttle sample flow
Date: Sun, 12 Aug 2012 13:19:43 -0400

On Tue, Aug 7, 2012 at 6:22 AM, Felix Wunsch
<address@hidden> wrote:
> Hi all,
>
> I recently wrote a block for decoding DRM AAC streams. For testing I put
> together a small flow graph consisting of a wav source, encoder block,
> decoder block, (rational) resampler and an audio sink (an image of the flow
> graph is attached).
>
> When I now run this flow graph, the audio is correctly decoded, but the
> output is not throttled to 44.1 kHz as it should be. It seems to be running
> at full speed. I also connected a resampler and an audio sink directly to
> the wav source and there the output is correct.
>
> I use default values for the audio sink (alsa, 44.1 kHz), GNU Radio 3.5.1
> and xubuntu 11.10.
>
> Any hints why this is happening and how to solve this?
>
> Best regards,
> Felix Wunsch

Felix,

I know that the audio sink will throttle the flow graph. What evidence
do you have that it's not or that it's running at full speed? Is it
the sound coming from the audio? My first guess is that there's a
misunderstanding somewhere of the actual sample rate. You're
resampling by almost 2x, which means you expect the signal coming from
the decoder to be 44.1e3/2. Is that right?

Tom



reply via email to

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