discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] ALSA device or resource busy


From: Richard Sharpe
Subject: Re: [Discuss-gnuradio] ALSA device or resource busy
Date: Sat, 6 Sep 2014 16:39:18 -0700

On Sat, Sep 6, 2014 at 4:34 PM, Marcus D. Leech <address@hidden> wrote:
> On 09/06/2014 07:24 PM, Richard Sharpe wrote:
>>
>> On Sat, Sep 6, 2014 at 4:13 PM, Marcus D. Leech<address@hidden>  wrote:
>>>
>>> On 09/06/2014 07:10 PM, Richard Sharpe wrote:
>>>>
>>>> On
>>>> The problem seems to have been that I was not in the audio group.
>>>>
>>>> Now I get continuous overruns. Looks like I am running too much on
>>>> that laptop and will have to move to another machine.
>>>>
>>> Or your flow-graph isn't properly constructed to send samples to the
>>> audio
>>> subsystem at the right rate.
>>
>> Well, I have the sample rate set to 48k.
>>
> Just because you've asked the audio sink to set a rate of 48k, doesn't mean
> the rest of the flow-graph agrees with that decision.   It also doesn't
>   necessarily mean that the audio hardware supports a 48k rate (although,
> most do).
>
> If you're getting audio *overrun* (as opposed to under-run), it generally
> means that you're sending samples to the hardware faster than they
>   can actually be processed by the hardware.

I looked through the flow graph, which I had copied from Mike Ossman's
first lesson on using the HackRF One, and indeed I had a problem. I
had the wrong value for the decimation field of the Rational
Resampler.

I had also changed the sample rate because I thought that the sample
rate was too high.

Once I fixed those, I got audio out.

Thanks for your help.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



reply via email to

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