Alsa audio sink error

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
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.

On Wed, Oct 31, 2007 at 03:47:45PM -0700, Shirve wrote:

$ ./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.

Try:

$ ./usrp_wfm_rcv.py -f 91M -O plughw:0,0

Also, you may want to consider using 3.1.0 stable release.
http://gnuradio.org/trac/wiki/Download

Eric

Thank you Eric.
It worked out nicely.

With Regards
-Sachin

Eric B. wrote:

Try:


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


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