[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] RuntimeError: audio_alsa_source
From: |
Brook Lin |
Subject: |
Re: [Discuss-gnuradio] RuntimeError: audio_alsa_source |
Date: |
Tue, 18 Dec 2007 13:18:01 -0800 (PST) |
Thanks for all your suggestions. I tried this today:
sudo ./tx_voice.py -f 120M -I plughw:0,0
>>> gr_fir_fff: using SSE
gr_buffer::allocate_buffer: warning: tried to allocate
992 items of size 33. Due to alignment requirements
4096 were allocated. If this isn't OK, consider padding
your structure to a power-of-two bytes.
On this platform, our allocation granularity is 4096 bytes.
...............................................................
sudo ./rx_voice.py -f 120M -O plughw:0,0
>>> gr_fir_fff: using SSE
audio_alsa_sink[plughw:0,0]: Device or resource busy
Traceback (most recent call last):
File "./rx_voice.py", line 138, in <module>
main()
File "./rx_voice.py", line 128, in main
tb = my_top_block(demods[options.modulation], rx_callback, options)
File "./rx_voice.py", line 67, in __init__
self.audio_tx = audio_tx(options.audio_output)
File "./rx_voice.py", line 55, in __init__
audio_sink = audio.sink(44100, audio_output_dev)
File "/usr/lib64/python2.5/site-packages/gnuradio/audio_alsa.py", line
236, in sink
return _audio_alsa.sink(*args)
RuntimeError: audio_alsa_sink
I am using Basic Tx/RX. And I still don't understand how to transmit and
receive my own music via USRP. I also tried sudo ./usrp_wfm_rcv.py -f 91M -O
plughw:0,0 to record the FM radio to my computer. It gives me almost the
same error: audio_alsa_sink[plughw:0,0]: Device or resource busy. Can you
give me some clue to transmit and receive my own music file? Thanks a lot!
Brook
--
View this message in context:
http://www.nabble.com/RuntimeError%3A-audio_alsa_source-tp14307133p14405949.html
Sent from the GnuRadio mailing list archive at Nabble.com.