On Wed, Dec 17, 2008 at 04:26:57PM +0100, Peter O'Doherty wrote:
Thanks a lot. That does the job.
But now I get this message:
len(channel_coeffs) = 795
gr_fir_ccc: using SSE
len(audio_coeffs) = 51
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 "./am_rcv.py", line 105, in <module>
main (sys.argv[1:])
File "./am_rcv.py", line 98, in main
fg = build_graph (filename, freq_offset_khz)
File "./am_rcv.py", line 78, in build_graph
audio_sink = audio.sink (int (audio_rate))
File "/usr/local/lib/python2.5/site-packages/gnuradio/audio_alsa.py",
line 236, in sink
return _audio_alsa.sink(*args)
RuntimeError: audio_alsa_sink
Can you please try using google before asking your questions here:
google:
audio_alsa_sink[hw:0,0]: unable to support sampling rate 32000
Thanks,
Eric