discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] error using audio.source() (alsa)


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] error using audio.source() (alsa)
Date: Tue, 1 Feb 2005 15:02:57 -0800
User-agent: Mutt/1.5.6i

On Tue, Feb 01, 2005 at 04:41:28PM -0600, Meenal wrote:
> Hi all,
> I am trying to read I/Q signals from audio line-in. I am using 
> audio.source for this purpose. I get the following error. I am using alsa.
> --------------------------------------------------------------------------------------------------------------------------
> address@hidden python fmrx.py
> audio: using audio_alsa
> audio_alsa_source[hw:0,0]: set_periods failed: Invalid argument
> Traceback (most recent call last):
>   File "fmrx.py", line 105, in ?
>     main ()
>   File "fmrx.py", line 99, in main
>     fg = build_graph ()
>   File "fmrx.py", line 22, in build_graph
>     src = audio.source(input_rate)
>   File "/usr/local/lib/python2.3/site-packages/gnuradio/audio_alsa.py", 
> line 210, in source
>     return _audio_alsa.source(*args)
> RuntimeError: std::runtime_error
> 
> Any ideas?
> 
> Many thanks,
> Meenal  

What's the value of input_rate?

Eric




reply via email to

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