[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error with audio_alsa_sink
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Error with audio_alsa_sink |
Date: |
Mon, 10 Nov 2008 07:22:10 -0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Nov 10, 2008 at 03:17:02PM +0000, PAtrick Gerber wrote:
> Hello all,I have some problems with GNURadio and my USRP board when I use the
> usrp_wfm_rcv demo application. I have the error
> below:audio_alsa_sink[hw:0,0]: unable to support sampling rate 32000
> card requested 44100 instead.
> audio_alsa_sink[hw:0,0]: set_period_time_near failed: Argument invalide
> Traceback (most recent call last):
> File "./usrp_wfm_rcv.py", line 268, in <module>
> app = stdgui.stdapp (wfm_rx_graph, "USRP WFM RX")
> File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui.py", line 36,
> in __init__
> wx.App.__init__ (self, redirect=False)
> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7912, in __init__
> self._BootstrapApp()
> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7487, in _BootstrapApp
> return _core_.PyApp__BootstrapApp(*args, **kwargs)
> File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui.py", line 39,
> in OnInit
> frame = stdframe (self.flow_graph_maker, self.title, self._nstatus)
> File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui.py", line 60,
> in __init__
> self.panel = stdpanel (self, self, flow_graph_maker)
> File "/usr/lib/python2.5/site-packages/gnuradio/wxgui/stdgui.py", line 81,
> in __init__
> self.fg = flow_graph_maker (frame, self, vbox, sys.argv)
> File "./usrp_wfm_rcv.py", line 93, in __init__
> False) # ok_to_block
> File "/usr/lib/python2.5/site-packages/gnuradio/audio_alsa.py", line 228,
> in sink
> return _audio_alsa.sink(*args)
> RuntimeError: audio_alsa_sink
> I have tested the mono_tone application with success and I can listen the
> tone.I have checked that my sound card is not in use by some other
> application.Do you have any idea ?
>
> Thanks in advance.Patrick
>
Try it with the -O plughw:0,0 option
Eric