discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Alsa audio sink error


From: Shirve
Subject: [Discuss-gnuradio] Alsa audio sink error
Date: Wed, 31 Oct 2007 15:47:45 -0700 (PDT)

Hi All,
I am a starter for software radio. I have made the setup (USRP hardware
"RFX1200, Basic-Tx and Basic-Rx daugherboards" from ettus and Ubuntu 7.04
with all the dependencies installed as per gnuradio-wiki build guide) with
gnuradio-3.0.4 stable release version and tested the USRP hardware with
sample programs (test_counting.py and benchmark_usb.py).

I ran into an error when i tried following sample program. 

$ ./usrp_wfm_rcv.py -f 91M
Using RX d'board B: Basic Rx
>>> gr_fir_ccf: using SSE
>>> gr_fir_fff: using SSE
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: Invalid argument
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/local/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.6-gtk2-unicode/wx/_core.py",
line 7700, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 7352, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/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/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui.py",
line 60, in __init__
    self.panel = stdpanel (self, self, flow_graph_maker)
  File "/usr/local/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/local/lib/python2.5/site-packages/gnuradio/audio_alsa.py", line
228, in sink
    return _audio_alsa.sink(*args)
RuntimeError: audio_alsa_sink

(Just for information - Speakers are working fine for other applications and
sample programs (like ~/audio/mono_tone.py, dial_tone.py, multi_tone.py
etc.), system sound is set at alsa and sound card is hda-intel)

If anyone else have also faced the same problem and fixed the same, please
help me.

Thanks
-Sachin
-- 
View this message in context: 
http://www.nabble.com/Alsa-audio-sink-error-tf4726752.html#a13514905
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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