There's even an FAQ entry on this:
http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ

M

On 04/11/2016 09:06 AM, Marcus Müller wrote:
> Dear Shilei Tian,
> 
> your Audio source produces 48000 samples per second, and your USRP needs
> 1 Million samples per second.
> So: from every input sample, you need to make $\frac{10^7}{4.8\cdot
> 10^4}= 20.8\bar3$ output samples. You don't do that, but deliver much
> much less to the USRP, which then tells you
> that it experienced a sample "*U*"nderrun.
> 
> You will need to add resamplers, or zero-pad your transmission, or use a
> bursty transmission mode. What you choose here depends on your
> application, and it's hard to tell you what's optimal.
> 
> Best regards,
> Marcus
> 
> PS: it's always recommendable to "clean up" your screenshots as far as
> possible, so that no one wonders what parts of it are relevant :)
> 
> On 11.04.2016 17:41, Shilei Tian wrote:
>> Hello, every one.
>>
>> I want to use gnuradio and usrp n210 with SBX subdev to transmit
>> real-time audio between two PCs. The flow is as follow:
>>
>>
>> But it couldn’t work well, it always outputs “UUUUUUUUUUUUUU…”, no
>> matter what samp_rate I set (1M, 48K, etc). I’ve tried to use Google
>> to search for solutions, but there is no available one, so I ask for
>> help here, I’ll appreciate for your help.
>>
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to