[Top][All Lists]

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

[Discuss-gnuradio] Increasing ALSA Sampling Rate

From: George S. Williams
Subject: [Discuss-gnuradio] Increasing ALSA Sampling Rate
Date: Thu, 27 Jan 2011 11:38:04 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

Is it possible to increase the maximum sampling rate for audio_alsa?

I am experimenting with using a modified TV tuner card as an ADC. The card uses a Bt878a chipset. arecord can record from the card at 1972000 rate and GRC shows the maximum rate as 1972000, but GNUradio can only sample at 896000.

Running GNUradio at 1972000 rate gives the following error-

audio_alsa_source[hw:2,1]: get_period_size failed: Invalid argument
Traceback (most recent call last):
  File "/root/top_block.py", line 81, in <module>
    tb = top_block()
  File "/root/top_block.py", line 49, in __init__
    self.audio_source_0 = audio.source(samp_rate, "hw:2,1", True)
File "/usr/local/lib/python2.6/site-packages/gnuradio/audio_alsa.py", line 241, in source
    return _audio_alsa.source(*args, **kwargs)
RuntimeError: audio_alsa_source

Is there some setting change that can enable the 1792000 rate?


reply via email to

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