Monday, January 31, 2011

Re: [Discuss-gnuradio] Increasing ALSA Sampling Rate

On 01/31/2011 01:10 PM, George S. Williams wrote:
> Hey, Tom,
>
> Thanks for the reply. I'm not sure that it's entirely an ALSA problem.
>
> Both my aplay and snd-bt88x are patched to allow 1792000. If I do-
> arecord -D hw:1,1 -r 1792000 -f S16_LE -t wav -d 5 test0.wav
>
>

audio_alsa_source[hw:2,1]: get_period_size failed: Invalid argument

I think the clue is in the above.

It looks like the device-specific driver for this hardware doesn't contain the "PERIOD_SIZE" parameter
in the configuration description for the hardware, and Gnu Radio uses that information for buffer
planning purposes (using it for set_output_multiple() ). Not clear whether there's a fix or not, and
whether the fix belongs in Alsa or Gnu Radio.

>
>


--
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment